save_state
Export the current session (cookies + localStorage) to a Playwright storageState JSON at path — a portable, reusable authenticated session.
Instructions
Export the current session (cookies + localStorage) to a Playwright
storageState JSON at path — a portable, reusable authenticated session.
Set for_chromium=True when a Chromium tool such as agent-browser will
load the file (agent-browser --state <path>). Non-secure SameSite=None
cookies then become Lax, which Chromium accepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| for_chromium | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |