OpenQA.Selenium.TextHandlingTest.HavingInlineElementsShouldNotAffectHowTextIsReturned C# (CSharp) Méthode

HavingInlineElementsShouldNotAffectHowTextIsReturned() private méthode

private HavingInlineElementsShouldNotAffectHowTextIsReturned ( ) : void
Résultat void
        public void HavingInlineElementsShouldNotAffectHowTextIsReturned()
        {
            driver.Url = (simpleTestPage);
            string text = driver.FindElement(By.Id("inline")).Text;

            Assert.AreEqual(text, "This line has text within elements that are meant to be displayed inline");
        }