ssl - How to disable Firefox's untrusted connection warning using Selenium? -
trying find way disable firefox raising warning every time connection uses "untrusted" certificate, selenium. believe kind of solution work best set 1 of browser preferences.
thanks much! suggestions appreciated!
i found this comment on enabling functionality in selenium java. there this stackoverflow question same issue, java python, desired target language, came this, through browsing firefoxprofile
code:
profile = webdriver.firefoxprofile() profile.accept_untrusted_certs = true
which, far have tested, has produced expected behavior.
hope helps somebody!
Comments
Post a Comment