Take screenshot
take_screenshotCapture a PNG of the current page—full scrollable page or viewport—and save it to the screenshot directory, returning the file path and image for QA review.
Instructions
Capture a PNG of the current page (full scrollable page or just the viewport) and save it to the screenshot directory. Returns the file path and, unless returnImage is false or the image is very large, the image itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | File name; saved inside the screenshot directory | screenshot.png |
| fullPage | No | Capture the full scrollable page instead of the viewport | |
| returnImage | No | Include the image in the response (false saves context) |