Smartproxy / Selenium-proxy-authentication

Example of username and password proxy authentication for use in Selenium
https://smartproxy.com/
MIT License
70 stars 15 forks source link

socks5 #7

Closed ahmedaman0000 closed 2 weeks ago

ahmedaman0000 commented 3 weeks ago

hello, How can I use socks 5?

4ofour commented 2 weeks ago

I found it to be possible using Selenium-wire, like so: `from seleniumwire import webdriver

options = { 'proxy': { 'http': 'socks5://user:pass@gate.smartproxy.com:10001', 'https': 'socks5://user:pass@gate.smartproxy.com:10001', 'no_proxy': 'localhost,gate.smartproxy.com:10001' } }

driver = webdriver.Chrome(seleniumwire_options=options)`