browser_screenshot
Capture a webpage screenshot, optionally as full page or specific element. Supports JPEG/PNG, highlight elements, and save to disk.
Instructions
Capture a screenshot of the current page. Returns a compressed JPEG image by default. For non-blocking visual capture, prefer stream_screencast instead.
Options: • fullPage — Capture the entire scrollable page, not just the viewport. • backendNodeId — Capture just a specific element by its backend node ID. • savePath — Save the image to disk instead of returning inline. • highlightNodeIds — Temporarily draw a red border around these elements in the screenshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format (default: jpeg) | |
| quality | No | JPEG quality 0-100 (default: 60) | |
| fullPage | No | Capture entire scrollable page (default: false) | |
| savePath | No | Absolute file path to save the image | |
| backendNodeId | No | Capture only this element | |
| highlightNodeIds | No | Optional list of backendNodeIds to highlight with a red border in the screenshot |