`
AllenZhang
  • 浏览: 52426 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

selenium测试中https的若干问题

阅读更多

DEV环境的证书过期,给https的selenium测试带来了不少问题。

简要列举2个walk around:

 

1. 服务器使用selenium server:

添加 -trustAllSSLCertificates 参数即可。

 

2. 服务器使用selenuim grid:

(1) 设置browser的属性为"*chrome"

(2) 对于ff下载插件"Remeber certificate excetion".

(3) 在ff的profile中,添加上这些例外的证书。测试时候使用该profile

1
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics