PagePixels Screenshots icon

PagePixels Screenshots

Capture website screenshots using the PagePixels API

Overview

The PagePixels Screenshots node captures website screenshots using the PagePixels API. It supports various screenshot operations, including the 'Quick Snap' operation, which allows users to capture a screenshot of a public URL with customizable options such as viewport size, image format, wait time before capture, CSS/JavaScript injection, and more. This node is useful for automating website monitoring, visual testing, content archiving, or generating thumbnails for URLs.

Use Case Examples

  1. Capture a quick screenshot of a webpage to monitor visual changes over time.
  2. Generate thumbnails of URLs for use in reports or dashboards.
  3. Automate capturing screenshots with custom viewport sizes and image formats for testing responsive designs.

Properties

Name Meaning
Authentication Method to authenticate API requests, either via API Key or OAuth2.
URL The public URL of the webpage to capture a screenshot from.
Options A collection of optional parameters to customize the screenshot capture, including time zone, wait time, CSS selector to wait for, multi-step actions on the page, viewport dimensions, image format, quality, scale factor, custom CSS/JS injection, user agent override, HTTP headers, cookies, caching, geolocation, thumbnail size, ad/tracker blocking, JavaScript disabling, and custom metadata like title and description.
Request Options Node-level request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • screenshotUrl - URL of the captured screenshot image.
  • screenshotId - Unique identifier for the screenshot capture.
  • status - Status of the screenshot capture request.
  • metadata
    • title - Custom title tag for the screenshot if provided.
    • description - Custom description or internal note for the screenshot if provided.

Dependencies

  • PagePixels API

Troubleshooting

  • Ensure the API key or OAuth2 credentials are correctly configured and valid to avoid authentication errors.
  • Verify the URL is publicly accessible and correctly formatted to prevent capture failures.
  • If using multi-step actions, ensure the JSON syntax is correct and selectors exist on the page to avoid errors.
  • Timeout errors may occur if the server is slow or unresponsive; increase the timeout setting if needed.
  • If SSL certificate validation fails, enable the option to ignore SSL issues, but be aware of security risks.

Links

Discussion