Closed Bug 1323740 Opened 8 years ago Closed 7 years ago

Firefox webdriver throws Insecure Connection error for self-signed certificates

Categories

(Testing Graveyard :: WebQA, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1103196

People

(Reporter: tharanya03, Unassigned)

Details

(Keywords: selenium)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce:

I run my selenium script choosing firefox as browser


Actual results:

I get Your connection is insecure" error though i have manually accepted the certificate


Expected results:

The insecure connection error shouldn't be thrown.
Keywords: selenium
Priority: -- → P3
Component: Untriaged → WebQA
Product: Firefox → Testing
Priority: P3 → P1
Severity: normal → major
Dave, could you help the bug reporter, please.
Flags: needinfo?(dave.hunt)
What version of Selenium and Firefox are you using? Your user agent from comment 0 indicates Google Chrome, and not Firefox. I suspect this is a duplicate of bug 1103196, which was fixed in Firefox 52. Please try using Firefox 52 or later, with the acceptInsecureCerts capability set to true and report back.
Severity: major → normal
Flags: needinfo?(dave.hunt) → needinfo?(tharanya03)
Priority: P1 → P3
Thanks for the reply. I am using Firefox 50.0.1 version and Selenium 30.0.1 version. Could you please let me the link to download Firefox 52 version please
(In reply to tharanya03 from comment #3)
> Thanks for the reply. I am using Firefox 50.0.1 version and Selenium 30.0.1
> version. Could you please let me the link to download Firefox 52 version
> please

Firefox Beta: https://www.mozilla.org/en-US/firefox/beta/all/
Firefox Aurora: https://www.mozilla.org/en-US/firefox/developer/all/
Firefox Nightly: https://www.mozilla.org/en-US/firefox/nightly/all/
How do I run Firefox nightly browser in my webdriver c# script. And I have installed current version of Geckodriver but couldn't find acceptInsecureCerts capability. Please help.
(In reply to tharanya03 from comment #5)
> How do I run Firefox nightly browser in my webdriver c# script.

You will need to pass the path to the Firefox binary as a capability. To do this in C# see http://seleniumhq.github.io/selenium/docs/api/dotnet/?topic=html/P_OpenQA_Selenium_Firefox_FirefoxOptions_BrowserExecutableLocation.htm

> And I have installed current version of Geckodriver but couldn't find
> acceptInsecureCerts capability. Please help.

Details of capabilities can be found here: https://github.com/mozilla/geckodriver#webdriver-capabilities and to set these using C# see http://seleniumhq.github.io/selenium/docs/api/dotnet/?topic=html/T_OpenQA_Selenium_Remote_DesiredCapabilities.htm

I'm going to close this as a duplicate of bug 1103196. If you need further assistance with Selenium please ask in the user forum https://groups.google.com/forum/#!forum/selenium-users or raise issues in the tracker: https://github.com/SeleniumHQ/selenium/issues
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(tharanya03)
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.