Protractor 测试在其他浏览器中运行正常,但在 IE(所有版本)中,当我们查看每个测试的屏幕截图时出现以下错误
'无法代理 https://somewebsite-that-isn 't-behind-firewall.com java.langRuntimeException:无法建立 SSL 握手。尝试使用 trustAllSSLCerficates。 收到致命警报:handshake_failure'
尝试将以下标志添加到 conf.js
文件中:
'acceptSSLCerts': true
'trustAllSSLCerficates': true
...但两者都没有任何区别。
最佳答案
文档:https://wiki.saucelabs.com/pages/viewpage.action?pageId=48365781
应该使用 -B
命令解决问题
关于使用 Internet Explorer 在 sauce labs 上出现 SSL 握手错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33653058/