Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Sleeps for ms milliseconds before moving on. Event-based waits (waitForUrl, checkElementVisible, assert with timeout) are usually a better fit when there is a concrete signal to wait for.

Parameters

ParameterTypeRequiredDescription
msnumberYesMilliseconds to wait.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.
commentstringNoFree-form annotation kept with the step.

Shorthand

Milliseconds as a number.
- wait: 5000

Examples

- wait:
    ms: 25000
- wait:
    ms: 60000
    skipped: true