Screenshot
dev_browser_screenshotCapture a PNG screenshot of a named browser page, returning the image and its saved file path for use in web automation and debugging.
Instructions
Take a PNG screenshot of a named page and return the image plus the saved path under ~/.dev-browser/tmp/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | Named daemon-managed browser instance. Default: DEV_BROWSER_BROWSER or 'default'. | |
| connect | No | Attach to a running Chrome instance. true/auto-discover, or a CDP URL like http://localhost:9222. | |
| fullPage | No | Capture the full scrollable page. Default: false. | |
| headless | No | Launch daemon Chromium without a window. | |
| pageName | No | Named page to reuse across calls. Default: "main". | |
| timeoutSeconds | No | Script execution timeout in seconds. Default: 30. | |
| ignoreHttpsErrors | No | Ignore HTTPS certificate errors for daemon-launched Chromium. |