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

ShouldRepresentABlockLevelElementAsANewline() private method

private ShouldRepresentABlockLevelElementAsANewline ( ) : void
return void
        public void ShouldRepresentABlockLevelElementAsANewline()
        {
            driver.Url = (simpleTestPage);
            string text = driver.FindElement(By.Id("multiline")).Text;

            Assert.IsTrue(text.StartsWith("A div containing" + newLine));
            Assert.IsTrue(text.Contains("More than one line of text" + newLine));
            Assert.IsTrue(text.EndsWith("and block level elements"));
        }