Is there a way to change the proxy between requests (for the same casper object):
somthing like that:
var casper=require('casper').create({
clientScripts: ["lib/js/jquery.min.js"],
// other settings...
});
casper.start("http://www.site1.com",function(){
casper.setProxy("http://xxx.xx.xx.xx:80"); // is there somthing like that ?
casper.thenOpen("http://www.site2.com",function(){ // through the proxy i set above...
// some code...
});
});
casper.run(function(){casper.exit();});