Skip to main content
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.

Shorthand

Milliseconds as a number.
- wait: 5000

Examples

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