Commit 49594d97 49594d9751afa20e9e4d15f3eb175b41609e71b3 by Nicolas Perriault

Merge pull request #40 from piouPiouM/fix-sample-screenshot-usage

Fixed usage of the screenshot sample.
2 parents 9061eea1 a0b72cc3
### This script will capture a screenshot of a twitter account page
Usage $ casperjs screenshot.coffee <twitter-account>
Usage $ casperjs screenshot.coffee <twitter-account> <filename.[jpg|png|pdf]>
###
casper = require('casper').create
viewportSize:
......
/**
* This script will capture a screenshot of a twitter account page
*
* Usage $ casperjs screenshot.coffee <twitter-account>
* Usage $ casperjs screenshot.coffee <twitter-account> <filename.[jpg|png|pdf]>
*/
var casper = require('casper').create({
viewportSize: {
......