For AI agents: the complete documentation index is available at ../../../llms.txt, the full documentation bundle is available at ../../../llms-full.txt, and this page is available as Markdown at ../../../quality/scripts/subflows/sleep.md.

subflows/sleep.yaml

Source

appId: ${APP_ID}
---
# Waits ${MS} ms. Maestro has no sleep, and `waitForAnimationToEnd` returns as soon as the screen is
# still: wait for an element that is never there, `optional` so running the clock out is not a failure.
- extendedWaitUntil:
    visible:
      id: "no-such-element"
    timeout: ${MS}
    optional: true