Beispiel #1
0
 public void JsInnerHtmlTest()
 {
     RunInAllBrowsers(browser =>
     {
         browser.NavigateToUrl("JsHtmlTest.aspx");
         var elm     = browser.First("#htmlTest");
         var content = elm.GetJsInnerHtml()?.Trim() ?? "";
         Assert.IsTrue(content.Contains("<span>") && content.Contains("</span>"));
         AssertUI.CheckIfJsPropertyInnerHtml(elm, c => c.Contains("<span>") && c.Contains("</span>"));
     });
 }