xvfb-run casperjs --proxy=192.168.1.42:8080 casperproxycheck.js
var casper = require('casper').create();
casper.start('http://whatismyipaddress.com/', function() {
this.debugPage();
});
casper.run();
xvfb-run phantomjs --proxy=192.168.1.42:8080 phantomproxycheck.js
var page = new WebPage();
page.open('http://whatismyipaddress.com/', function (status) {
if (status !== 'success') {
console.log('Unable to access network');
} else {
var ua = page.evaluate(function () {
return document.getElementById('section_content').innerText;
});
console.log(ua);
}
phantom.exit();
});
> Thanks for the work around!
>
> Much appreciated.
I've just pushed an attempt to fix the issue with the casperjs
executable, could you please test latest master and provide some
feedback?
If it actually solves the issue I'll be releasing 0.6.4 today.
Thanks
--
Nicolas Perriault
http://www.akei.com/ — http://prendreuncafe.com/
Mobile: +33 660 92 08 67 — Skype: nperriault