We can set single proxy in command line like:
phantomjs example.js --proxy="ip:port"
But it would be useful to set (or change) proxy "on fly" for specific page objects:
var page1 = require('webpage').create();
var page2 = require('webpage').create();
Sometimes it's far better than launching different phantomjs processes (as we should do now to use different proxies).
Yeah, that'd be very helpful.
Moreover, as I understood, there is a pull request that provides this functionality from @artkoshelev, but no merging activity form @detro and @ariya still. Here's an issue: #11980