Read or write the page's storage
Gets, sets, deletes or lists the page's own localStorage or sessionStorage.
op key in the page's area storage
Details #
area is local or session; op is get, set, delete or keys. Values are strings; a non-string value is stored as JSON.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
area | one of | local session | , op, key, value. | |
browser | one of | safari chrome front | ||
into | text | The variable that receives the result. | ||
key | text | |||
op | one of | get set delete keys | ||
sample | any value | |||
tab | any value | . | ||
value | any value |
Every step also accepts label, onFailure, timeout and dryRunSafe.
Examples #
Read a token the site stores
Do
- Get local storage “theme”