Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Set proxy on first ghostdriver connection #201

Open
android422 opened this Issue Mar 25, 2013 · 3 comments

Comments

Projects
None yet
4 participants

I currently have a problem using Ghostdriver behind a proxy. I can set the proxy when starting Phantomjs however this means the proxy is used for the selenium grid connection.

This means the grid connection will fail as the proxy is configured for external connections only.

Possible solutions:

  1. PhantomJS/Ghostdriver option to ignore proxy for Ghostdriver connection
  2. Allow first Webdriver connection to Ghostdriver to set proxy
  3. Allow proxy changing during different sessions (as in issue #143)

Thanks

Owner

detro commented Jun 13, 2013

Currently this can't be implemented.
The Network Stack used by the Page objects is the same used to connect to the Hub.

@simondean simondean referenced this issue in ariya/phantomjs Oct 4, 2013

Closed

Exclude domains from using proxy #11199

Does this mean that the Proxy JSON object in the WebDriver protocol is simply ignored? That is exactly what I'm seeing in my experimentation: PhantomJS logs that it got the proxy configuration, but does not use the configured proxy.

Proxy configuration through WD appears simply to be ignored, yes. Indicative is also that RuntimeProxySetupTest is failing on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment