OpenQA.Selenium.TextHandlingTest.ShouldHandleNestedBlockLevelElements C# (CSharp) Method

ShouldHandleNestedBlockLevelElements() private method

private ShouldHandleNestedBlockLevelElements ( ) : void
return 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);
        }