Import Storage State
browser_import_storage_stateReplace active browser credentials and origin state by importing a Playwright storageState file. Clears cookies, localStorage, and IndexedDB to apply a specific authenticated profile.
Instructions
Use when a full-profile authorized reproduction explicitly needs to replace active browser credential and origin state from a Playwright storageState file. Preconditions: raw-capture and credential acknowledgements are required; CDP or userDataDir contexts also require acknowledgeStorageStateOverwrite: true. Next: navigate or reload to verify the intended authenticated state. Sensitivity: import clears and replaces cookies, localStorage, and IndexedDB and can overwrite a real logged-in profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| acknowledgeRawCapture | No | ||
| acknowledgeCredentialAccess | No | ||
| acknowledgeStorageStateOverwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |