Get Screenshot
AI-generatedSummary
Capture a screenshot (or PDF) of a page and store the binary result in a configurable property while returning metadata.
Inputs
- url (required) —
- dataPropertyName (required) — Name of the binary property in which to store the image or PDF data.
- imageType — The image type to use. PNG, JPEG, and WebP are supported.
- quality — The quality of the image, between 0-100. Not applicable to png images.
- fullPage (required) — When true, takes a screenshot of the full scrollable page.
- queryParameters — The query parameter to send.
- batchSize — Maximum number of pages to open simultaneously. More pages will consume more memory and CPU.
- browserWSEndpoint — The WebSocket URL of the browser to connect to. When configured, puppeteer will skip the browser launch and connect to the browser instance. If empty, uses BROWSER_WS_ENDPOINT (base URL) and BROWSER_WS_TOKEN (appended as ?token=) environment variables if set, otherwise launches local browser.
- device — Emulate a specific device.
- executablePath — A path where Puppeteer expects to find the bundled browser. Has no effect when 'Browser WebSocket Endpoint' is set.
- headers — The headers to send.
- fileName — File name to set in binary data. Only applies to 'Get PDF' and 'Get Screenshot' operations.
- launchArguments — Additional command line arguments to pass to the browser instance. Has no effect when 'Browser WebSocket Endpoint' is set.
- timeout — Maximum navigation time in milliseconds. Pass 0 to disable timeout. Has no effect on the 'Run Custom Script' operation.
- protocolTimeout — Maximum time in milliseconds to wait for a protocol response. Pass 0 to disable timeout.
- waitUntil — When to consider navigation succeeded. Has no effect on the 'Run Custom Script' operation.
- pageCaching — Whether to enable page level caching. Defaults to true.
- headless — Whether to run browser in headless mode. Defaults to true.
- shell — Whether to run browser in headless shell mode. Defaults to false. Headless mode must be enabled. chrome-headless-shell must be in $PATH.
- stealth — When enabled, applies various techniques to make detection of headless Puppeteer harder.
- humanTyping — Gives page the function .typeHuman() which "humanizes" the writing of input elements
- captureDownloads — When enabled, any files downloaded during script execution (via clicks, direct downloads, etc.) will be automatically captured and returned as binary data in the node output. Perfect for downloading PDFs, images, or other files triggered by user interactions. Files are automatically cleaned up after capture. Only applies to 'Run Custom Script' operation.
- humanTypingOptions —
- proxyServer — This tells Puppeteer to use a custom proxy configuration. Examples: localhost:8080, socks5://localhost:1080, etc.
- addContainerArgs — Whether to add recommended arguments for container environments (--no-sandbox, --disable-setuid-sandbox, --disable-dev-shm-usage, --disable-gpu)
Output shape
An array of items; each item contains binary data stored under the property named by dataPropertyName and a JSON object with headers, statusCode, and url.
The binary data is placed in the configured dataPropertyName; pairedItem references the original input item index; headers, statusCode, and url are included in the JSON payload.
Examples
Example 1: Capture a full‑page PNG screenshot and store it in the property "image".
Set URL, imageType=png, fullPage=true, dataPropertyName=image, quality=100.
Example 2: Generate a PDF with custom margins and filename.
Set operation=getPDF, fileName=report.pdf, margin settings, and other PDF options.
Example 3: Run a custom script that clicks a button and captures a download.
Set operation=runCustomScript, captureDownloads=true, and provide scriptCode that triggers a download.