Skip to main content

Browser::ScreenshotsMaker - Creates a screenshot or renders the page to PDF

Overview of the scraper

Browser::ScreenshotsMakerBrowser::ScreenshotsMaker – is a tool for automatically creating screenshots of web pages and saving them in PDF format. The scraper uses a built-in browser to load pages

A-Parser functionality allows you to save the parsing settings for the Browser::ScreenshotsMaker scraper for future use (presets), ), set a parsing schedule, and much more.

Collected data

  • PNG screenshot of the page
  • PDF file displaying the page

Use Cases

  • Make a PNG screenshot
  • Create a PDF file with the page content

Queries

As queries, you must specify a link to the website, for example:

https://a-parser.com/

Default output

Result format:

[% IF pdf != "none"; pdf; END; IF screenshot != "none"; screenshot; END; %]

Available settings

ParameterDefault valueDescription
Log ScreenshotsDisplays the screenshot in the log
Viewport Width1024Option to specify viewport width
Viewport Height768Option to specify viewport height
Resize WidthOption to change width
Resize HeightOption to change height
File typepngOption to set file type PNG/PDF
PDF formatA3Option to set format for PDF
Chrome HeadlessIf this option is enabled, the browser is not displayed
Take a full screenshotsScreenshot of the entire page