browser_snapshot
Read a web page as an indented accessibility tree with refs for actionable elements, avoiding screenshots; waits briefly for fetched data and lets you scope large pages by ref or selector.
Instructions
The page as an indented accessibility tree; actionable elements carry [ref=N]. The main way to read a page: cheaper and more exact than a screenshot. Waits briefly for data the page is still fetching. On big pages scope it with ref or selector. Long texts are cut (a line at the top says how much); full_text prints every word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from browser_snapshot, e.g. 12 | |
| text | No | Visible text or label of the element, instead of ref | |
| limit | No | Max lines (default 2000) | |
| selector | No | CSS selector (first match), instead of ref | |
| full_text | No | Texts, names and values uncut |