browser_snapshot
Capture accessibility tree snapshots of web pages to identify interactive elements for automated browser control and testing.
Instructions
Get an accessibility tree snapshot of the page. Returns element refs you can use with click, type, and other tools. Use compact mode (default) for smaller output - only interactive elements.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector to scope the snapshot | |
| compact | No | When true (default), returns only interactive elements with minimal nesting. Set false for full tree. |