Screenshot
screenshotTake a screenshot of the current web page and return it as base64. Optionally save the image to disk.
Instructions
Capture a screenshot of the current page. Returns the image inline as base64. Optionally save to disk with savePath.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID. | |
| fullPage | No | Capture full scrollable page. | |
| selector | No | CSS selector to capture a specific element. | |
| savePath | No | Optional file path to save the screenshot to disk. If omitted, image is returned inline only. |