browser_snapshot
Capture a page's accessibility tree snapshot, returning element refs for AI interaction. Use flags to limit depth, scope by selector, compact output, or show interactive elements only.
Instructions
Get an accessibility tree snapshot of the page with element refs for AI interaction
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Limit tree depth (-d flag) | |
| compact | No | Remove empty structural elements (-c flag) | |
| selector | No | Scope snapshot to a CSS selector (-s flag) | |
| sessionId | No | Browser session ID | |
| interactive | No | Only show interactive elements (-i flag) |