Skip to main content
Reads cookies and localStorage from the file and injects them into the current browser context. Paths resolve relative to the YAML file.

Parameters

ParameterTypeRequiredDescription
pathstringYesPath to the storage-state JSON file.
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

Storage-state file path as a single string.
- authLoad: ./auth-state.json

Examples

- authLoad:
    path: ./auth-state.json