Wait

By design, Maestro highly discourages a pattern of introducing artificial wait blocks as we believe that Maestro is already handling that reasonably well. Commands listed below should be used as a last resort in exceptional cases where a longer wait period is required (i.e. waiting for a video to finish)

If you need to wait for an element to become visible within a reasonable time (i.e. 5-10 seconds), use assertions instead:

assertVisibleassertNotVisible

extendedWaitUntil

Waits until an element becomes visible. More documentation can be found in the API reference:

extendedWaitUntil

waitForAnimationToEnd

Waits until an ongoing animation/video is fully finished and screen becomes static. More information can be found in the API reference:

waitForAnimationToEnd

Last updated