Functions
toBeVisible
- toBeVisible(element: UIElement, expectedState: boolean, options??: Options): Promise<SyncExpectationResult>
-
Parameters
-
element: UIElement
-
expectedState: boolean
-
Optional options: Options = true
Returns Promise<SyncExpectationResult>
Use
toBeVisible
function when you want to check that an element is visible