proxy not work
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
Proxies are only properly supported in Firefox 57 AFAIK and you should use the firstMatch/alwaysMatch capabilities structure as documented in the README.
Also please note that you will also have to wait for the next release of geckodriver which will be 0.19.
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.