For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set LocalStorage

Write a key and value into browser localStorage.

Set LocalStorage writes a key and value into the browser localStorage. Use it to seed client side state before the application reads it.

Set localStorage Test Step

When to use it

  • Preload a feature flag or preference before the page script runs.

  • Set known test data so the UI opens in a predictable state.

  • Pair with Check LocalStorage to confirm the value persisted.

Configure

Basics

Field
What to set

Key Name

localStorage key to write

Key Value

Value to store as text and/or a Value

Advanced

Field
What to set

Status on fail

Tags: data, localStorage, set, save, add

Last updated