I'm also at a dead end. I also want to use the authorization proxy in Chrome WebDriver Selen. I tried using httpProxy or PAC in which we cannot use the username and password.
And then I saw socksUsername and socksPassword but it is still useless. Because the error is:
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: cannot parse capability: proxy from invalid argument: Specifying 'socksProxy' requires an integer for 'socksVersion' (Driver info: chromedriver=73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017),platform=Mac OS X 10.14.3 x86_64)
I found that the chrome code says that socksProxy key, but the current selenium does not support socksProxy, see selenium code .
Therefore, I have to choose a different path:
source share