public void ShouldCountElementsAsVisibleIfStylePropertyHasBeenSet() { driver.Url = javascriptPage; IWebElement shown = driver.FindElement(By.Id("visibleSubElement")); Assert.IsTrue(shown.Displayed); }