browser_snapshot
Capture an accessibility snapshot of the current page, returning a structured tree of content and interactive elements. This provides an alternative to screenshots for understanding page state.
Instructions
Capture accessibility snapshot of the current page, this is better than screenshot
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boxes | No | Include each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect) | |
| depth | No | Limit the depth of the snapshot tree | |
| target | No | Exact target element reference from the page snapshot, or a unique element selector | |
| filename | No | Save snapshot to markdown file instead of returning it in the response. |