Set LocalStorage
Write a key and value into browser localStorage.
Last updated
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.

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.
Key Name
localStorage key to write
Key Value
Value to store as text and/or a Value
Status on fail
Tags: data, localStorage, set, save, add
Last updated