相关疑难解决方法(0)

使用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万
查看次数

标签 统计

selenium-webdriver ×1

webdriver ×1