assertVisible (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from isVisible(locator)
- This command determines if the specified element is visible on the web page. 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.
- Syntax
- assertVisible(locator)
- Target
- locator
- Value
- N/A
- Return Value
- True if the specified element is visible, false otherwise.