Take a screenshot
browser_take_screenshotCapture a screenshot of the current page, optionally clipping to an element or full page, to inspect visual details when pixel-level accuracy is needed.
Instructions
Capture the page as an image. Screenshots cost a lot of context — prefer browser_snapshot, and use this only when you need to see pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Image format (default png) | |
| scale | No | css (default) = CSS pixels; device = full device resolution | |
| target | No | Element ref or CSS selector to clip to (default: the viewport) | |
| quality | No | JPEG/WebP quality 0-100 | |
| filename | No | Save to this file instead of returning the image | |
| fullPage | No | Capture the full scrollable page instead of the viewport | |
| maxWidth | No | Downscale so the image is at most this many CSS pixels wide |