export_cookies
Export browser cookies to a JSON file for restoring in another session using import_cookies. Compatible with Edit This Cookie and Playwright formats.
Instructions
Dump all cookies to a JSON file.
Compatible with the "Edit This Cookie" Chrome extension export format
and Playwright's storage state shape (just the cookies slice).
Use ``import_cookies`` on another session to restore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |