element_screenshot
Capture a cropped screenshot of a specific element or viewport region, with optional scaling for readability.
Instructions
Screenshot cropped to one element or to a viewport region (PNG), optionally enlarged. Read-only. The cheapest image in the set, because it carries only the box you asked for — and with scale the way to read fine print: crop the box, zoom it, verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Enlargement of the crop, 1-4; output still capped at 1568px | |
| region | No | Box in viewport CSS px (the rect frame of get_interactives/query_dom), instead of selector | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| selector | No | CSS selector; ">>>" pierces shadow DOM. The element is scrolled into view first |