Screenshot
browser_screenshotCaptures a JPEG screenshot of the current tab or a single element by ref to verify layout, images, or canvas rendering. Use when visual appearance matters more than text.
Instructions
A JPEG of the current tab's screen, or of one element by ref. A glass arrow in it (maybe labelled) is your cursor, not the page: it points at your last action's target, so if it is elsewhere, that action hit the wrong element. Only when layout, images or a canvas matter: browser_snapshot and browser_get_text are cheaper to read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | One element to capture; the whole screen if omitted |