capture-responsive-screenshots
Captures screenshots at different breakpoints from given URLs as defined in a config file. Uses CasperJS and PhantomJS
Last updated 3 years ago by hibernationtheory .
ISC · Original npm · Tarball · package.json
$ cnpm install capture-responsive-screenshots 
SYNC missed versions from official npm registry.

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 install to get the dependencies
  • data.json file lists the url's that will be visited by the tool.
  • config.json has configuration options such as the viewport sizes for the screenshots.
    • Leaving config.json empty will use default values, but links in data.json have to be provided.
  • Run npm run main to execute the script. The images will be saved into ./images/ folder (destination folder is configurable).

To Do

  • Document other config.json options.

Current Tags

  • 1.0.2                                ...           latest (3 years ago)

3 Versions

  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 3
This Week 3
This Month 3
Last Day 0
Last Week 0
Last Month 3
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |