Skip to main content
The simplified form takes a name=value cookie string. The detailed form takes the same string under value. Set cookies before the page is loaded so the app reads them on mount.

Parameters

ParameterTypeRequiredDescription
valuestringYesCookie definition (name=value).
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

Cookie as a name=value string.
- cookie: sessionId=a3fWa

Examples

- cookie:
    value: "sessionId={{ env.SESSION_ID }}"
- cookie:
    value: "featureFlag=enabled"