试图找到一种方法来禁止Firefox在每次连接使用"不受信任"证书时使用Selenium发出警告.我相信那种最有效的解决方案是设置一个浏览器首选项.
非常感谢!任何建议将不胜感激!
我在Java中使用Web驱动程序处理UntrustedSSLcertificates时遇到困难.
我创建了firefox配置文件:
FirefoxProfile profile = new FirefoxProfile();
profile.setAcceptUntrustedCertificates(true);
profile.setAssumeUntrustedCertificateIssuer(false);
Run Code Online (Sandbox Code Playgroud)
我创建了firefox配置文件,添加了覆盖证书.
这不是处理SSL证书.
有没有其他方法来处理UntrustedSSLcertificates?