Take a screenshot
take_screenshotRender a public web page and return it as an image (or a PDF). Uses one screenshot of the account quota; cache hits and failed renders are free. Prefer jpeg or webp to keep the image small. A result over 6 MB comes back as a download link (valid for about a day) instead of inline data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full address of the page, starting with http:// or https://. | |
| cache | No | Reuse a stored copy when the same request was made before. | |
| delay | No | Extra seconds to wait after the page has loaded. | |
| format | No | File format of the result. mp4, webm and gif record a video of the page scrolling from top to bottom. | jpeg |
| selector | No | Capture only the first element matching this CSS selector. | |
| block_ads | No | Block requests to ad networks. | |
| dark_mode | No | Ask the page for its dark theme. | |
| full_page | No | Capture the whole page, not just the first screen. | |
| wait_until | No | Page event that marks the page as loaded. | load |
| viewport_width | No | Width of the browser window in pixels. | |
| viewport_device | No | Emulate a device preset (see list_devices). | |
| viewport_height | No | Height of the browser window in pixels. | |
| block_cookie_banners | No | Hide cookie consent banners. |