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
1 ### This script will capture a screenshot of a twitter account page 1 ### This script will capture a screenshot of a twitter account page
2 2
3 Usage $ casperjs screenshot.coffee <twitter-account> 3 Usage $ casperjs screenshot.coffee <twitter-account> <filename.[jpg|png|pdf]>
4 ### 4 ###
5 casper = require('casper').create 5 casper = require('casper').create
6 viewportSize: 6 viewportSize:
......
1 /** 1 /**
2 * This script will capture a screenshot of a twitter account page 2 * This script will capture a screenshot of a twitter account page
3 * 3 *
4 * Usage $ casperjs screenshot.coffee <twitter-account> 4 * Usage $ casperjs screenshot.coffee <twitter-account> <filename.[jpg|png|pdf]>
5 */ 5 */
6 var casper = require('casper').create({ 6 var casper = require('casper').create({
7 viewportSize: { 7 viewportSize: {
......