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

ShouldGetTextWhichIsAValidJSONObject() private method

private ShouldGetTextWhichIsAValidJSONObject ( ) : void
return void
        public void ShouldGetTextWhichIsAValidJSONObject()
        {
            driver.Url = simpleTestPage;
            IWebElement element = driver.FindElement(By.Id("simpleJsonText"));
            Assert.AreEqual("{a=\"b\", c=1, d=true}", element.Text);
            //assertEquals("{a=\"b\", \"c\"=d, e=true, f=\\123\\\\g\\\\\"\"\"\\\'}", element.getText());
        }