webdriver
webdriver copied to clipboard
Allow for specifying schema in "proxy"
Addressing https://github.com/w3c/webdriver/issues/1920.
Currently, WebDriver capabilities allow for configuring proxy by protocol. Meaning the protocol traffic can be proxied via the same protocol proxy.
Chromium can proxy traffic via different proxy protocols, and can configure which proxy to use for which protocol. In Chromium, the possible proxy schemas are http, https, socks4, socks5. Also user can configure separately proxy for HTTP, HTTPS and all other requests (SOCKS).
In order to allow for such configurations, we propose the following:
- Allow for schemas (
http,https,socks4,socks5) in the proxy url. - Deprecate
socksin favor ofotherproxy configuration.