Puppeteer icon

Puppeteer

Automate browser interactions using Puppeteer

Get Screenshot

AI-generated

Summary

Capture a screenshot of the page navigated to from the provided URL, returning binary image data and navigation metadata.

Inputs

  • url (required) — The URL to navigate to and capture.
  • dataPropertyName (required) — Name of the binary property in which to store the screenshot image data. Defaults to 'data'.
  • imageType — Image format. PNG, JPEG, and WebP are supported. Defaults to PNG. JPEG and WebP support quality setting.
  • quality — Image quality when type is JPEG or WebP. Range 0-100. Not applicable to PNG images. Defaults to 100.
  • fullPage — When true, captures the entire scrollable page instead of just the viewport. Defaults to false.
  • queryParameters — Query parameters to append to the URL as name-value pairs.
  • fileName — File name to assign to the returned binary data. Applies to both Get Screenshot and Get PDF operations.
  • timeout — Maximum navigation time in milliseconds. Pass 0 to disable timeout. Defaults to 30000.
  • waitUntil — When to consider navigation succeeded. Options: load, domcontentloaded, networkidle0, networkidle2. Defaults to 'load'. Has no effect on Run Custom Script.

Output shape

The node returns an array of items. Each item contains a binary property with the screenshot data under the key specified by dataPropertyName, and a json property with navigation metadata.

Binary data is stored as { [dataPropertyName]: binaryData }. JSON output includes headers, statusCode, and the final URL after redirects.

Links

Discussion