This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Takes provided URL passed as argument and make full height screenshots of this page | |
* with several viewport widths. | |
* | |
* These viewport widths are taken from common android and iOS devices. Modify as needed. | |
* | |
* Takes an optional second argument for the path where screenshots are saved. | |
* | |
* Usage: | |
* $ casperjs screenshots.js http://example.com |