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

ShouldNotCollapseANonBreakingSpaces() 개인적인 메소드

private ShouldNotCollapseANonBreakingSpaces ( ) : void
리턴 void
        public void ShouldNotCollapseANonBreakingSpaces()
        {
            driver.Url = (simpleTestPage);
            IWebElement element = driver.FindElement(By.Id("nbspandspaces"));
            string text = element.Text;

            Assert.AreEqual(text, "This line has a   non-breaking space and spaces");
        }