Skip to content

Commit 2ab36cc

Browse files
committed
Handle certificates with Firefox
1 parent 55919ed commit 2ab36cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def _set_chrome_options(downloads_path, proxy_string):
7979

8080
def _create_firefox_profile(downloads_path, proxy_string):
8181
profile = webdriver.FirefoxProfile()
82+
profile.accept_untrusted_certs = True
8283
profile.set_preference("reader.parse-on-load.enabled", False)
8384
profile.set_preference("pdfjs.disabled", True)
8485
profile.set_preference("app.update.auto", False)

0 commit comments

Comments
 (0)