我使用硒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();