Capture page screenshot
browser_screenshotCapture a PNG screenshot of a page viewport, full page, or a specific element, optionally within an iframe chain, and receive image bytes directly without file writes.
Instructions
Capture a bounded in-memory PNG screenshot of one explicitly addressed page, either as the viewport/full page or one semantic element optionally reached through a bounded iframe chain. Full-page and element capture use an immutable measured CSS-pixel clip plus encoded-byte validation. BrowserMesh returns image content and does not write to a caller-controlled path or inspect another session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| capture | No | ||
| sessionId | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| width | Yes | ||
| height | Yes | ||
| pageId | Yes | ||
| mimeType | Yes | ||
| sessionId | Yes | ||
| operationId | Yes |