mshot-cli
v1.0.0
Published
CLI to take screenshots for multiple website at one using Puppeteer.
Downloads
4
Maintainers
Readme
mshot-cli
CLI to take screenshots for multiple website at one using Puppeteer.
Usage
$ npm i -g mshot-cli
Usage
$ mshot PATH_TO_CONFIG_FILE
Example
$ mshot config.json
There is only one parameter that point to your config.json
file, which defines how to take screenshots.
Here a sample:
{
"options": {
"path": ".",
"viewport": {
"width": 1280,
"height": 720
},
"timeout": 5000,
"extension": "png"
},
"websites": [
"petehouston.com",
"apple.com",
"microsoft.com"
]
}