PDF Api Hub icon

PDF Api Hub

HTML to PDF

Actions36

Screenshot Website to Image → URL to Image

AI-generated

Summary

Capture a webpage as an image by opening the required URL in a browser at the selected viewport size. Optionally capture the full scrollable page, wait for a chosen page-load condition and extra delay, and auto-click a cookie-consent button before capture.

Inputs

  • URL (required) — Full webpage URL; the node description says https:// is added automatically if omitted.
  • Output Format — Choose a hosted URL, base64 data in JSON, both, or a binary file. The declared default is a hosted URL described as available for 30 days.
  • Full Page — Capture the full scrollable page instead of only the viewport; defaults to false.
  • Cookie Accept Text — Text to match on the cookie-consent button to click before capture; defaults to “Accept ALL”.
  • Wait Until — Choose the page-load condition: load, domcontentloaded, networkidle, or commit. Defaults to load.
  • Extra Delay (Ms) — Additional wait after the page-load condition, useful for animations or delayed content; defaults to 0.
  • Viewport Size — Choose a preset viewport or Custom; defaults to 1920 × 1080.
  • Viewport Width (Px) — Custom viewport width in pixels; shown when Viewport Size is Custom, default 1920.
  • Viewport Height (Px) — Custom viewport height in pixels; shown when Viewport Size is Custom, default 1080.
  • Advanced Options — Optionally set device scale factor (default 1) and image quality (default 80).

Output shape

An image result in the selected format.

The properties declare URL, base64, combined URL and base64, and raw PNG binary output formats. The provided source pack contains only signature-level stubs for this operation, so it does not establish the runtime response fields or confirm how these settings are applied.

Links

Discussion