snapshot_page_state
Capture a complete snapshot of a webpage's state including HTML, storage, cookies, scroll position, and form values to enable exact restoration later.
Instructions
Capture a complete snapshot of the page state: HTML, localStorage, sessionStorage, cookies, scroll position, and form values. Use with restore_page_state to return to this exact state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Target tab ID (defaults to currently active tab) | |
| apiKey | No | API key for authentication if enabled |