Skip to content

PhantomJs Switch Proxt Mid-Connection #143

aces1up opened this Issue Dec 29, 2012 · 4 comments

2 participants

aces1up commented Dec 29, 2012

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.


detro commented Dec 29, 2012
aces1up commented Dec 30, 2012

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!

detro commented Dec 30, 2012

No, sorry. I don't think even PhantomJS supports this yet. Will work on both codebases to implement this.

detro commented May 27, 2014

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.

@detro detro closed this May 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.