Skip to content

Commit e1f9f7f

Browse files
author
Alexandre GUIDET
committed
add options support
1 parent cc5475b commit e1f9f7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ use Browser\Casper;
2727

2828
$casper = new Casper();
2929

30+
// forward options to phantomJS
31+
// for exemple to ignore ssl errors
32+
$casper->setOptions(array(
33+
'ignore-ssl-errors' => 'yes'
34+
));
35+
3036
// navigate to google web page
3137
$casper->start('http://www.google.com');
3238

0 commit comments

Comments
 (0)