Create a gist now

Instantly share code, notes, and snippets.

diff --git a/remote/server/src/java/org/openqa/selenium/server/browserlaunchers/FirefoxChromeLauncher.java b/remote/server/src/java/org/openqa/selenium/server/browserlaunchers/FirefoxChromeLauncher.java
index c435169..33d61c5 100644
--- a/remote/server/src/java/org/openqa/selenium/server/browserlaunchers/FirefoxChromeLauncher.java
+++ b/remote/server/src/java/org/openqa/selenium/server/browserlaunchers/FirefoxChromeLauncher.java
@@ -187,7 +187,7 @@ public class FirefoxChromeLauncher extends AbstractBrowserLauncher {
protected void generatePacAndPrefJs(String homePage) throws IOException {
LauncherUtils.ProxySetting proxySetting = LauncherUtils.ProxySetting.NO_PROXY;
if (browserConfigurationOptions.is("captureNetworkTraffic") || browserConfigurationOptions.is(
- "addCustomRequestHeaders")) {
+ "addCustomRequestHeaders") || browserConfigurationOptions.is("trustAllSSLCertificates")) {
proxySetting = LauncherUtils.ProxySetting.PROXY_EVERYTHING;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment