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

ShouldConvertANonBreakingSpaceIntoANormalSpaceCharacter() private method

        public void ShouldConvertANonBreakingSpaceIntoANormalSpaceCharacter()
        {
            driver.Url = (simpleTestPage);
            string text = driver.FindElement(By.Id("nbsp")).Text;

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