screenshot_page
Capture a page screenshot as base64 PNG, or save it directly to a file path. Returns image data unless saving is specified.
Instructions
Capture page screenshot as base64 PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveTo | No | Save the screenshot to a file instead of returning it as image data in the response. Pass a file path, an existing directory (generated file inside), or true (generated file under ~/.firefox-devtools-mcp/output/). Relative paths resolve against the current working directory. |