Commit a0b72cc3 a0b72cc3f0c6e2695168681a8cbceb09999588d3 by Mehdi Kabab

Fixed usage of the screenshot sample.

1 parent 9061eea1
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: {
......