AI snapshot
dev_browser_snapshotCapture an AI-friendly accessibility snapshot of a web page. Use the returned snapshot reference to locate and interact with elements in subsequent automation calls.
Instructions
Return an AI-friendly accessibility snapshot. Use refs like e12 with getByRef in a later run, or pass snapshotRef to click/fill/type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Snapshot depth. | |
| track | No | Snapshot track id for incremental diffs. | |
| browser | No | Named daemon-managed browser instance. Default: DEV_BROWSER_BROWSER or 'default'. | |
| connect | No | Attach to a running Chrome instance. true/auto-discover, or a CDP URL like http://localhost:9222. | |
| headless | No | Launch daemon Chromium without a window. | |
| pageName | No | Named page to reuse across calls. Default: "main". | |
| timeoutMs | No | Snapshot timeout. Default: 5000. | |
| timeoutSeconds | No | Script execution timeout in seconds. Default: 30. | |
| ignoreHttpsErrors | No | Ignore HTTPS certificate errors for daemon-launched Chromium. |