Is there a way to switch Proxies mid Connection on the PhantomJS object?
Currently I start PhantomJs with the --proxy option, but I would like to change
it after a test has completed without having to shutdown,
and then restart the PhantomJS object.
Is there anything I can do temporarily to enable this functionality? Is it even possible to do this with phantomJS?
Thanks for any input you can provide!
No, sorry. I don't think even PhantomJS supports this yet. Will work on both codebases to implement this.
After further consideration, I don't think this is a good idea.
The price of "restarting the browser" is very low and there is nothing in the WebDriver specs that defines this behaviour.
I'd consider pull requests but I don't have the bandwidth to work on this.