snapshot
Lists visible page elements and text with reusable refs for other tools; scope by selector, cap results with max, and return text or JSON.
Instructions
List visible elements and text with refs usable in other tools, one per line: ref role "name" href=... selector scopes to a subtree, max caps the list, boxes adds rects, format=json for objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| tab | No | tab id, defaults to current | |
| boxes | No | ||
| format | No | text (default) or json | |
| selector | No | ||
| request_timeout | No | Outer page request deadline in milliseconds; defaults to at least 30000 |