screenshot
Capture the current page or a specific element as a PNG screenshot. Returns base64 data, with options for full-page capture and saving to disk.
Instructions
Take a screenshot of the current page or a specific element. Returns base64-encoded PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullPage | No | Capture full scrollable page (default: false) | |
| savePath | No | Optional file path to save the screenshot to disk | |
| selector | No | CSS selector to screenshot a specific element (optional — omit for full page) |