How can I set socks5 proxy for selenium webdriver? Python
问题 I really can’t to set socks5 proxy(http too...) for my chrome webdriver in selenium for python. I tried many different ways... But I think I do something bad. Example 1: self.options.add_argument('--proxy-server=http://'+proxy) Example 2: webdriver.DesiredCapabilities.CHROME['proxy'] = { "socksProxy": proxy, "ftpProxy": proxy, "sslProxy": proxy, "noProxy": None, "proxyType": "MANUAL", "class": "org.openqa.selenium.Proxy", "autodetect": False } Please describe fully the working example of