An NDoc Documented Class Library |

# DefaultSelenium.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.

public bool IsVisible(
string locator
);

#### Parameters

locator
  an element locator

#### Return Value

true if the specified element is visible, false otherwise

#### Implements

ISelenium.IsVisible

#### See Also

DefaultSelenium Class | Selenium Namespace