Take browser session screenshot
browser_screenshotCapture the current page or a specific element without navigating, returning an image and current URL for visual verification and debugging.
Instructions
Capture the current page or one element without navigating; return the image and current URL. Element capture waits and scrolls into view. Use browser_actions for other waits before capture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Current snapshot element reference; omit both targets for page capture. | |
| quality | No | JPEG quality, 0-100; invalid for PNG. | |
| timeout | No | Capture limit in milliseconds; 0 disables it. | |
| selector | No | Playwright selector matching one element; omit when using ref. | |
| full_page | No | Capture the full scrollable page; incompatible with selector/ref. | |
| image_type | No | Image format. | png |
| session_id | Yes | ID from `browser_open`; call `browser_fetch` first. |