Screenshot
screenshotCapture a screenshot of a web page or specific element for visual verification, returning the image inline or as a file path when large.
Instructions
Capture a screenshot of the current page or a specific element. Use for visual verification or when layout/rendering matters; prefer snapshot or find for reading structure and text. Returns the image inline, or a file path when the image is large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eid | No | Element ID to screenshot. Requires a prior snapshot. Cannot be combined with fullPage. | |
| format | No | Image format: 'png' (lossless, default) or 'jpeg' (lossy with quality control). | png |
| page_id | No | The ID of the page to screenshot. | |
| quality | No | JPEG quality 0-100. Only applies when format is jpeg. | |
| fullPage | No | Capture full page height beyond the viewport. Cannot be combined with eid. |