Skip to content

Instantly share code, notes, and snippets.

View ozexpert's full-sized avatar

Young K. Park ozexpert

  • UI / UX
  • Earth
View GitHub Profile
/*
* 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();