I hereby claim:
- I am tamilyn on github.
- I am tamilyn (https://keybase.io/tamilyn) on keybase.
- I have a public key whose fingerprint is 3D09 F09C AE13 5442 39FF 8F95 346D AD47 90A4 C63A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var screenshotUrl = 'http://example.com/' | |
| var casper = require("casper").create({ | |
| viewportSize: { | |
| width: 1024, | |
| height: 768 | |
| } | |
| }); | |
| if (casper.cli.args.length < 1) { |
| /* | |
| * 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(); |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |