相关疑难解决方法(0)

如何使用Selenium禁用Firefox的不受信任的连接警告?

试图找到一种方法来禁止Firefox在每次连接使用"不受信任"证书时使用Selenium发出警告.我相信那种最有效的解决方案是设置一个浏览器首选项.

非常感谢!任何建议将不胜感激!

ssl firefox selenium certificate ssl-certificate

21
推荐指数
4
解决办法
4万
查看次数

使用WebDriver处理UntrustedSSLcertificates

我在Java中使用Web驱动程序处理UntrustedSSLcertificates时遇到困难.

我创建了firefox配置文件:

FirefoxProfile profile = new FirefoxProfile();
profile.setAcceptUntrustedCertificates(true);
profile.setAssumeUntrustedCertificateIssuer(false);
Run Code Online (Sandbox Code Playgroud)

我创建了firefox配置文件,添加了覆盖证书.

这不是处理SSL证书.

有没有其他方法来处理UntrustedSSLcertificates?

webdriver selenium-webdriver

5
推荐指数
1
解决办法
2万
查看次数