state_save
Save the current browser's login (cookies and localStorage) as a named state so other sessions can start already logged in; only cookies for allowed origins are kept.
Instructions
Save the current browser's login (cookies + localStorage) as a named state, so other sessions can start already logged in. Only cookies for the allowed origins are kept. allowedOrigins defaults to the http(s) origins open in tabs; it can never be wider than this browser's own allowlist. States a person created with devtools-fleet login cannot be overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | State name: letters, digits, . _ - | |
| strict | No | Block every request (not just navigations) outside the allowlist when the state is used | |
| overwrite | No | ||
| allowedOrigins | No | Origins this state may be used on, e.g. ["https://staging.example.com"] |