OpenQA.Selenium.TextHandlingTest.ShouldHandleNestedBlockLevelElements C# (CSharp) 메소드

ShouldHandleNestedBlockLevelElements() 개인적인 메소드

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