Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
a0b72cc3
...
a0b72cc3f0c6e2695168681a8cbceb09999588d3
authored
2012-01-14 20:30:13 +0100
by
Mehdi Kabab
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed usage of the screenshot sample.
1 parent
9061eea1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
samples/screenshot.coffee
samples/screenshot.js
samples/screenshot.coffee
View file @
a0b72cc
### 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
:
...
...
samples/screenshot.js
View file @
a0b72cc
/**
* 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
:
{
...
...
Please
register
or
sign in
to post a comment