geckodriver icon indicating copy to clipboard operation
geckodriver copied to clipboard

proxy not work

Open zrx8269 opened this issue 9 years ago • 3 comments

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

zrx8269 avatar Sep 06 '17 08:09 zrx8269

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

andreastt avatar Sep 06 '17 11:09 andreastt

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

whimboo avatar Sep 07 '17 14:09 whimboo

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[bot] avatar Aug 17 '19 05:08 lock[bot]