Browser Snapshot
browser_snapshotCapture a structured snapshot of a page's DOM to inspect its current state. Limit tree depth, child nodes, or scope to a specific element for efficient parallel browser automation.
Instructions
Return a structured page snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Max tree depth (default 4). | |
| selector | No | Scope to an element; omit for document body. | |
| sessionId | Yes | ||
| maxChildren | No | Max children per node (default 20). |