Testing_Selenium::isVisible
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.
Signature
public function isVisible(string
$locatorĀ )
Parameters
-
$locator
- an element locator
Returns
- boolean
- true if the specified element is visible, false otherwise