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 #928

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

proxy not work #928

zrx8269 opened this issue Sep 6, 2017 · 3 comments

Comments

@zrx8269
Copy link

zrx8269 commented Sep 6, 2017

System

  • Version: 018.0
  • Platform: Linux/Windows
  • Firefox: 55.0.2
  • Selenium: 3.5.3
  • Webdriverio: 4.8.0

Testcase

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');

Stacktrace

in firefox, cannot set the proxy

@andreastt
Copy link
Contributor

Proxies are only properly supported in Firefox 57 AFAIK and you should use the firstMatch/alwaysMatch capabilities structure as documented in the README.

@whimboo
Copy link
Collaborator

whimboo commented Sep 7, 2017

Also please note that you will also have to wait for the next release of geckodriver which will be 0.19.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants