Browser CLI icon

Browser CLI

Control a remote browser by talking directly to a browser-cli serve endpoint

Storage → Set

AI-generated

Summary

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.

Links

Discussion