Actions72
- Tab Actions
- Page Actions
- DOM Actions
- Group Actions
- Window Actions
- Session Actions
- Storage Actions
- Performance Actions
- Extension Actions
- Client Actions
- Command Actions
Storage → Set
AI-generatedSummary
Write a value to a browser tab’s localStorage or sessionStorage under the specified key.
Inputs
- Tab ID — Target tab ID; leave 0 to use the active tab.
- Storage Key (required) — Key to write in the selected storage area.
- Storage Value (required) — String value to store.
- Storage Type — Choose localStorage (default) or sessionStorage.
Output shape
One n8n item per returned result row, containing the server response data as JSON.
The node sends a storage.set command to the browser-cli serve endpoint. Tab ID 0 is omitted from the request, selecting the active tab. The operation requires the serve endpoint to permit dangerous commands (--allow-dangerous). If Continue On Fail is enabled, errors are returned as items with an error field.