SnapRender icon

SnapRender

Capture website screenshots as PNG, JPEG, WebP, or PDF

Take Screenshot

AI-generated

Summary

Capture a screenshot of a specified website URL in PNG, JPEG, WebP, or PDF format with customizable options such as full page capture, device emulation, dark mode, ad and cookie banner blocking, and additional viewport or delay settings.

Inputs

  • URL (required) — The URL of the website to capture.
  • Format (required) — The output format of the screenshot: PNG, JPEG, WebP, or PDF.
  • Full Page — Whether to capture the entire scrollable page (true or false).
  • Device — Device preset for viewport emulation, like desktop or various mobile and laptop devices.
  • Dark Mode — Enable dark mode CSS emulation (true or false).
  • Block Ads — Whether to block advertisements and trackers (true or false).
  • Block Cookie Banners — Whether to remove cookie consent banners (true or false).
  • Additional Options — Optional advanced settings including viewport width and height, image quality for JPEG/WebP formats, delay after page load before capture, CSS selectors to hide, and a CSS selector to click before capture.
  • Output (required) — Specifies how to return the screenshot: as a binary file or as JSON containing a base64 data URI.

Output shape

binary file with screenshot image or JSON object containing base64-encoded screenshot data

If 'Binary' output is selected, the node returns binary data containing the screenshot file with an appropriate MIME type and filename. If 'JSON' is selected, the node returns a JSON object with base64 data URI of the screenshot. The binary output includes metadata with the URL and format used.

Examples

Example 1: Capture a full-page PNG screenshot of 'https://example\.com' with desktop viewport, blocking ads and cookie banners, returned as binary image file.

URL set to 'https://example.com', Format set to 'PNG', Full Page set to true, Device set to 'Desktop (Default)', Block Ads and Block Cookie Banners enabled, Output set to 'Binary'.

Links

Discussion