Actions5
- Scrape Actions
- Extraction Actions
- Screenshot Actions
- Account Actions
Screenshot → Capture Web Page Screenshot
AI-generatedSummary
Capture a Scrapfly screenshot of the supplied web page URL and attach the returned image to the input item as binary data.
Inputs
- URL (required) — Web page URL to capture.
- Additional Fields — Optional screenshot settings: file name (without extension; defaults to a sanitized version of the URL), image format (JPG by default; also PNG, WEBP, or GIF), capture area (viewport by default; can specify full page, a vertical portion, or an element using XPath or CSS), screen resolution, proxy country, timeout, browser rendering wait, selector to wait for, screenshot options (dark mode, block banners, or print media), automatic scrolling, and JavaScript to run in the browser. Cache settings enable caching, set its TTL, or clear it to force a fresh capture.
Output shape
One output item per input item, retaining its JSON and existing binary data and adding the screenshot as binary data.
The screenshot binary property is named with the configured file name and format extension; when no file name is set, the URL is sanitized for the name. The returned content type is taken from Scrapfly's response when present, otherwise inferred from the selected format. Errors are raised as node API errors, or returned as an error field if Continue On Fail is enabled.