I\'m using the following code based on loadspeed.js example to open up a https:// site which requires http server authentication as well.
var page = require(
If someone is using Phantomjs with Sahi the --ignore-ssl-errors
option needs to go in your browser_types.xml file. It worked for me.
phantomjs
PhantomJS
safari.png
/usr/local/Cellar/phantomjs/1.9.2/bin/phantomjs
--ignore-ssl-errors=yes --debug=yes --proxy=localhost:9999 /usr/local/Cellar/phantomjs/phantom-sahi.js
"PhantomJS"
100
true