updated samples/screenshot.js
Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -5,7 +5,11 @@ if (!phantom.casperLoaded) { | ... | @@ -5,7 +5,11 @@ if (!phantom.casperLoaded) { |
5 | 5 | ||
6 | var casper = new phantom.Casper({ | 6 | var casper = new phantom.Casper({ |
7 | logLevel: "debug", | 7 | logLevel: "debug", |
8 | verbose: true | 8 | verbose: true, |
9 | viewportSize: { | ||
10 | width: 800, | ||
11 | height: 600 | ||
12 | } | ||
9 | }); | 13 | }); |
10 | 14 | ||
11 | casper.start('https://twitter.com/#!/twilio', function(self) { | 15 | casper.start('https://twitter.com/#!/twilio', function(self) { | ... | ... |
-
Please register or sign in to post a comment