Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy not work #306

Closed
zrx8269 opened this issue Sep 6, 2017 · 2 comments
Closed

proxy not work #306

zrx8269 opened this issue Sep 6, 2017 · 2 comments

Comments

@zrx8269
Copy link

zrx8269 commented Sep 6, 2017

Current Behavior

The proxy does't work. The code in my project is as below:

const webdriverio = require('webdriverio');

var opts = {
	desiredCapabilities: {
		browserName: 'firefox',
		proxy: {
                        proxyType: "manual",
	            httpProxy: "a.b.c",
	            httpProxyPort: 8080,
	            sslProxy: "a.b.c",
	            sslProxyPort: 8080
                  }
	}
},
webdriverio
        .remote(opts)
    .init()
        .url('http://www.google.com');

Your Environment

  • Version of selenium-standalone that you are using: v3.5.3
  • System/platform: Windows
  • Other details that might be important:
    webdriverio: v4.8.0
    firefox: 55.0.2
@stephenash
Copy link
Collaborator

@zrx8269 From your example, it looks like you are using the webdriverio tools directly and not necessarily the selenium-standalone project. If that is not the case, can you create a sample repo that has the exact config files and scripts you are using that reproduces the issue?

selenium-standalone does have the ability to set a proxy that would be used when downloading versions of the Selenium server or drivers, but does not use that value when running the selenium server or drivers. Setting that through webdriverio's config file needs to be in the seleniumInstallArgs section of their config file.

@mgrybyk
Copy link
Member

mgrybyk commented Oct 9, 2020

Closing due to inactivity

@mgrybyk mgrybyk closed this as completed Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants