Skip to main content

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

Overview of the parser

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

A-Parser functionality allows you to save parsing settings for the Browser::ScreenshotsMaker parser for future use (presets), set parsing 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

You must specify a link to the site as a query, 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 screenshotsScreenshot of the entire page