读书人

selenium测试中https的若干有关问题

发布时间: 2012-09-04 14:19:30 作者: rapoo

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

读书人网 >软件开发

热点推荐