-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModequestionSomeone is looking for answersSomeone is looking for answers
Description
Environment
Python: 3.10.11
SeleniumBase: 4.24.12
Description
I would like to use a certificate, but I am not sure how to do so.
Below is the sample source code. In this example, I am unable to access "https://geo.brdtest.com/mygeo.json".
from seleniumbase import Driver as MySBDriver
import ssl
import certifi
ssl_context = ssl.create_default_context(cafile=certifi.where())
ssl_context.load_verify_locations(str(Path(f"{os.path.sep.join(sys.argv[0].split(os.path.sep)[:-1])}/ca.crt")))
driver = MySBDriver(uc=True, proxy="http://brd-customer-hl_e43c514b-zone-residential_proxy3:[email protected]:22225")
driver.get("https://geo.brdtest.com/mygeo.json")
Please let me know if there are any possible remedies or ideas that may help solve this issue. Thank you.
Metadata
Metadata
Assignees
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModequestionSomeone is looking for answersSomeone is looking for answers