Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 809 Bytes

extendedwaituntil.md

File metadata and controls

28 lines (20 loc) · 809 Bytes

extendedWaitUntil

Waits until an element becomes visible. Fails if the element is not visible after the timeout expires. This command will complete as soon as element becomes visible and is not going to wait for timeout to expire.

For an exhaustive list of selectors that can be used, please refer to the Selectors page.

Example usage:

- extendedWaitUntil:
    visible: "My text that should be visible" # or any other selector
    timeout: 10000      # Timeout in milliseconds

Similarly, it can wait until an element disappears:

- extendedWaitUntil:
    notVisible: 
        id: "elementId" # or any other selector
    timeout: 10000

See also

{% content-ref url="../../advanced/wait.md" %} wait.md {% endcontent-ref %}