Capture screenshots of URLs or local web pages.
Screenshots are captured in batches for optimal performance.
npm install ah-screenshotter --save
var screenshotter = require('ah-screenshotter'); screenshotter(urls, config, options, next);
URLs is an array of URLs or local paths that should be screenshotted.
Note that dest should be relative from the default location.
E.g. this is default:
A dest of "thumbs" would result in:
The module is a wrapper around Pageres and the settings will be passed to the Pageres constructor.
See the official docs for all settings. Here are a few important ones: