这是网络上非常常见的问题,我尝试了很多解决方案,但没有任何效果。我想用标准的selenium firefox浏览器运行测试。
我已经做过的事情:
添加以下代码以测试配置
<var name="testing.selenium.capabilities" value='{"acceptSslCerts" :true, "trustAllSSLCertificates" : true,"webdriver_accept_untrusted_certs":true, "setAcceptUntrustedCertificates":true,"acceptUntrustedCertificates":true}'/>
我使用最新版本的selenium服务器(2.42.2),我尝试使用旧版本(2.39)没有任何反应:(这一刻我不知道如何解决它。