Skip to main content
Drops the browser context’s network connectivity until online is called. The bare scalar - offline is equivalent to - offline: {}.

Parameters

ParameterTypeRequiredDescription
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

Bare command.
- offline

Examples

- offline: {}