Merge pull request #40 from piouPiouM/fix-sample-screenshot-usage
Fixed usage of the screenshot sample.
Showing
2 changed files
with
2 additions
and
2 deletions
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: { | ... | ... |
-
Please register or sign in to post a comment