browser_snapshot
Capture the ARIA accessibility tree of a page to list actionable elements with ref handles for browser automation.
Instructions
Capture the page's ARIA accessibility tree with [ref=...] handles.
This is the primary way to 'see' a page: it lists actionable elements (roles +
names + refs) without CSS/markup noise. Pass a ref from here to click/type/hover.
Frame-hosted elements get prefixed refs like 'f1e36' (iframe 1, element 36).
Shadow DOM elements appear with plain eN refs — the locator engine pierces them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |