public void ShouldNotAllowAnElementWithZeroHeightToBeCountedAsDisplayed() { driver.Url = javascriptPage; IWebElement zeroHeight = driver.FindElement(By.Id("zeroheight")); Assert.IsFalse(zeroHeight.Displayed); }