screenshots.js 0�Z �U �� �U /* * Takes provided URL passed as argument and make screenshots of this page with several viewport sizes. * These viewport sizes are arbitrary, taken from iPhone & iPad specs, modify the array as needed * * Usage: * $ casperjs screenshots.js http://example.com */ var casper = require("casper").create(); var screenshotUrl = 'http://google.com/', screenshotNow = new Date(
![Take screenshots at different viewport sizes using CasperJS](https://cdn-ak-scissors.b.st-hatena.com/image/square/1ef26f6cb4349557952890dbe3e567f7f98dc151/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fassets%2Fgist-og-image-54fd7dc0713e.png)