I am using:
I need to verify the username and password for my current project. I\'ve b
We solved this problem with a library for Selenium. Hopefully it benefits your business. Selenium Wire
https://github.com/wkeeling/selenium-wire
And thanks to @pguardiario for your help..
To use proxies with auth in python selenium you can use seleniumwire.
Fistly, install it with pip install selenium-wire
Then import webdriver from seleniumwire instead selenium
Check the original Answer here
from seleniumwire import webdriver
options = {
'proxy': {
'http': 'http://username:password@host:port',
'https': 'https://username:password@host:port',
'no_proxy': 'localhost,127.0.0.1' # excludes
}
}
browser = webdriver.Chrome(path_to_driver, seleniumwire_options=options)