Insecure Connection error

15 views
Skip to first unread message

Tharanya Prem Kumar

unread,
Apr 24, 2017, 10:26:40 AM4/24/17
to Selenium Users

DesiredCapabilities opt= DesiredCapabilities.Firefox();

opt.SetCapability("acceptInsecureCerts", true);

opt.SetCapability("marionette", true);

driver = new FirefoxDriver(opt);

The above code is not working to accept the Insecure Connection error. Please let me know how to accept the error and proceed further with Firefox 53.0, Selenium 3.3.1 and c#.

Andreas Tolfsen

unread,
Apr 24, 2017, 11:33:47 AM4/24/17
to seleniu...@googlegroups.com
Also sprach Tharanya Prem Kumar <thara...@gmail.com>:
As is made evident in the geckodriver README, you need Selenium 3.4
or newer along with the latest Firefox, preferably Nightly.

Andreas Tolfsen

unread,
Apr 24, 2017, 11:36:50 AM4/24/17
to seleniu...@googlegroups.com
Also sprach Andreas Tolfsen <a...@mozilla.com>:
I also forgot that you likely need geckodriver 0.16.0.
Reply all
Reply to author
Forward
0 new messages