Skip to content

Commit

Permalink
Adding acceptInsecureCerts capability for Firefox .NET tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Dec 15, 2018
1 parent 461c290 commit 105994c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dotnet/test/firefox/NightlyFirefoxWebDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public NightlyFirefoxWebDriver(FirefoxDriverService service, FirefoxOptions opti

public static FirefoxOptions DefaultOptions
{
get { return new FirefoxOptions() { BrowserExecutableLocation = @"C:\Program Files (x86)\Nightly\firefox.exe" }; }
get { return new FirefoxOptions() { BrowserExecutableLocation = @"C:\Program Files (x86)\Nightly\firefox.exe", AcceptInsecureCertificates = true }; }
}
}
}
2 changes: 1 addition & 1 deletion dotnet/test/firefox/ReleaseFirefoxWebDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public ReleaseFirefoxWebDriver(FirefoxDriverService service, FirefoxOptions opti

public static FirefoxOptions DefaultOptions
{
get { return new FirefoxOptions() { BrowserExecutableLocation = @"\Program Files\Mozilla Firefox\firefox.exe" }; }
get { return new FirefoxOptions() { BrowserExecutableLocation = @"\Program Files\Mozilla Firefox\firefox.exe", AcceptInsecureCertificates = true }; }
}
}
}

0 comments on commit 105994c

Please sign in to comment.