from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.proxy import Proxy, ProxyTypeoptions = Options()
options.accept_insecure_certs = True
# Proxy setup:
proxy = Proxy()
proxy.proxy_type = ProxyType.MANUAL
proxy.http_proxy = "corp-proxy:8080"
options.proxy = proxy
driver = webdriver.Chrome(options=options)