1.0.2 • Published 10 years ago
capture-responsive-screenshots v1.0.2
Capture Responsive Screenshots
Captures screenshots at different breakpoints from given URLs as defined in a config file. Uses CasperJS and PhantomJS.
How to Use
- Run
npm installto get the dependencies data.jsonfile lists the url's that will be visited by the tool.config.jsonhas configuration options such as the viewport sizes for the screenshots. - Leavingconfig.jsonempty will use default values, but links in data.json have to be provided.- Run
npm run mainto execute the script. The images will be saved into./images/folder (destination folder is configurable).
To Do
- Document other
config.jsonoptions.