Skip to main content

Browser::ScreenshotsMaker - Takes a screenshot or renders a page to PDF

Overview of the scraper

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

A-Parser functionality allows you to save Browser::ScreenshotsMaker scraping settings for future use (presets), set scraping schedules, and much more.

Collected data

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

Use cases

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

Queries

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

https://a-parser.com/

Default output

Result format:

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

Possible settings

ParameterDefault valueDescription
Log ScreenshotsDisplays the screenshot in the log
Viewport Width1024Ability to specify viewport width
Viewport Height768Ability to specify viewport height
Resize WidthAbility to change width
Resize HeightAbility to change height
File typepngAbility to set file type PNG/PDF
PDF formatA3Ability to set format for PDF
Chrome HeadlessIf the option is enabled, the browser is not displayed
Take a full screenshotsFull page screenshot