cdp_screenshot
Capture screenshots of web pages or specific elements using Chrome DevTools Protocol for browser automation and testing purposes.
Instructions
Capture a screenshot of the page or a specific element.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Element to capture (full page if omitted) | |
| format | No | Image format (default: png) | |
| quality | No | JPEG/WebP quality 0-100 | |
| full_page | No | Capture full scrollable page | |
| path | No | Save to file path |