save_storage_state
Save browser session authentication state (cookies and localStorage) to a JSON file for later restoration, enabling persistent login sessions.
Instructions
Save a session's cookies + localStorage (auth state) to a JSON file.
The file holds live authentication secrets — store it securely and never commit it. Restore it by setting BROWSER_STORAGE_STATE= before the session starts.
Args: session_id: An existing session ID (create one via browse/extract with session_id) path: File path to write the storage-state JSON to
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |