Skip to main content
Sleeps for ms milliseconds before moving on. Prefer an assert with a timeout or an element check when there is a concrete signal to wait for.

Parameters

ParameterTypeRequiredDescription
msnumberYesMilliseconds to wait.
saveAsstringNoVariable to store this step’s return value on env.<name>.
retriesnumberNoTimes 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