Actions8
- Template Actions
- Render Actions
- Batch Actions
- Screenshot Actions
Screenshot → Capture
AI-generatedSummary
Capture a screenshot of a live webpage at a specified URL with configurable viewport size, image format, and capture options.
Inputs
- screenshotUrl (required) — The URL of the webpage to capture.
- viewportWidth — Viewport width in pixels, between 100 and 3840 (default 1280).
- viewportHeight — Viewport height in pixels, between 100 and 3840 (default 800).
- format — Output image format: PNG, JPEG, or WebP (default PNG).
- fullPage — Whether to capture the entire scrollable page; requires Business plan (default false).
- selector — CSS selector to capture only a specific element on the page.
- blockAds — Block advertisement networks during capture (default true).
- blockTrackers — Block analytics and tracking scripts during capture (default true).
- blockCookieBanners — Automatically dismiss cookie consent banners (default true).
- binaryProperty (required) — The name of the binary property to store the screenshot image in the output.
Output shape
A single item with a binary property containing the screenshot image file and a JSON object confirming success, including the URL and filename.
The screenshot image is returned in the specified binary property as raw image data with MIME type matching the selected format. The JSON output always includes success status, the requested URL, and the generated filename.
Examples
Example 1: Capture a full webpage screenshot as JPEG
Set URL, viewport size, format to 'jpeg', enable fullPage, and specify a binary property to store the image.