wb_screenshot
Capture a screenshot of the current tab or a specific element via CSS selector. Uses JPEG for reliable captures, auto-retries on timeout, and returns the image path.
Instructions
Screenshot current tab (or selector). Default format=jpeg for reliability; auto-retries smaller jpeg on timeout. Returns path; embeds image when under size cap. Errors include problem+hint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| format | No | Default jpeg (faster/more reliable than png) | |
| quality | No | JPEG quality; default 55 | |
| session | No | Per-call session override (does not change the process default) | |
| selector | No | Optional @e/CSS crop — use for large pages |