An NDoc Documented Class Library |

# ISelenium.IsVisible Method

Determines if the specified element is visible. An element can be rendered invisible by setting the CSS "visibility" property to "hidden", or the "display" property to "none", either for the element itself or one if its ancestors. This method will fail if the element is not present.

bool IsVisible(
string locator
);

#### Parameters

locator
  an element locator

#### Return Value

true if the specified element is visible, false otherwise

#### See Also

ISelenium Interface | Selenium Namespace