Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Sets the value before the next step runs. Useful for seeding the page with feature flags, onboarding state, or auth tokens that the app reads from localStorage.

Parameters

ParameterTypeRequiredDescription
keystringYeslocalStorage key.
valuestringYeslocalStorage 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.
commentstringNoFree-form annotation kept with the step.

Examples

- localStorage:
    key: momenticTestKey2
    value: momenticTestValue3
- localStorage:
    key: featureFlags
    value: '{"newCheckout":true}'