我使用硒3.4.0,firefox版本53.0和gecko驅動程序0.16.1,java編譯器1.7。不安全連接錯誤Firefox v 53.0
對於某些網站顯示不安全的連接錯誤。
我已經使用Firefox的配置對象遵循但它仍然不是解決:
FirefoxProfile profile = new FirefoxProfile();
profile.setAcceptUntrustedCertificates(true);
profile.setAssumeUntrustedCertificateIssuer(false);
profile.setPreference("network.proxy.type", 1);
profile.setPreference("network.proxy.http", "localhost");
profile.setPreference("network.proxy.http_port", 3128);
WebDriver driver = new FirefoxDriver(profile);
driver.manage().window().maximize();