proxy not work
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-standalonethat you are using: v3.5.3 - System/platform: Windows
- Other details that might be important: webdriverio: v4.8.0 firefox: 55.0.2
@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.
Closing due to inactivity