firefox marionette bypass security exception firefox marionette bypass security exception selenium selenium

firefox marionette bypass security exception


You have to use nightly build of firefox of developer edition for now. It will not work on the current version.

https://bugzilla.mozilla.org/show_bug.cgi?id=1103196


Firefox: 50.1.0Gecko Driver: 0.13 (install nuget package: Selenium.Firefox.WebDriver.0.13.0)

Firstly, open a standard Firefox browser, and make sure the default Firefox profile has added the unsecured site into the certificate exception list.C# code as follows:

FirefoxProfileManager fpManager = new FirefoxProfileManager();var profiles = fpManager.ExistingProfiles;var defaultProfile = fpManager.GetProfile(profiles.First());driver = new FirefoxDriver(defaultProfile);