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

ShouldHandleNestedBlockLevelElements() private méthode

private ShouldHandleNestedBlockLevelElements ( ) : void
Résultat void
        public void ShouldHandleNestedBlockLevelElements()
        {
            driver.Url = (simpleTestPage);

            string text = driver.FindElement(By.Id("nestedblocks")).Text;

            Assert.AreEqual("Cheese" + newLine + "Some text" + newLine + "Some more text" + newLine
                                + "and also" + newLine + "Brie", text);
        }