take_screenshot
Capture a PNG image of the session's active tab to inspect visual layout, styling, or images. Set fullPage to grab the whole scrollable page instead of just the visible viewport.
Instructions
Capture a PNG of the session's active tab and return it as an image. Use it when visual layout, styling or images matter; use take_snapshot for a cheaper text view of the page's structure, and evaluate to read specific values. fullPage captures the whole scrollable page instead of the visible viewport, which can make a very large image on long pages. It reads the page without changing it. Returns the image plus a caption with its size in bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullPage | No | Capture the whole scrollable page instead of only the visible viewport. Default false. | |
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. |