Screenshot
screenshotRender a page in a real browser and capture a PNG, returning its public URL. Use when the question is what the page looks like rather than what it says.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to capture. | |
| maxAge | No | Reuse a stored screenshot younger than this many milliseconds. Defaults to 7 days, so a repeat returns the stored PNG without re-rendering and without applying waitFor. Pass 0 to force a fresh capture. | |
| timeout | No | Overall time budget for the capture, in milliseconds. | |
| waitFor | No | Extra milliseconds to let the page settle before capture. | |
| fullPage | No | Capture the whole scrollable page rather than the viewport. | |
| viewport | No | Screen size to render at. Defaults to desktop (1920x1080). Ignored when width or height are given. | |
| viewportWidth | No | Exact viewport width in pixels. Overrides viewport. | |
| viewportHeight | No | Exact viewport height in pixels. Overrides viewport. With fullPage the capture still extends to the full page height. |