Selenium RC 工具在打开安全 http 页面时给出例外

发布于 2024-08-31 00:10:43 字数 194 浏览 2 评论 0原文

我将自动化一个基本上基于浏览器的流程。我已经编写了一个脚本来自动化该过程,并且运行良好。

当脚本要打开 HTTPS :(安全页面) 时,由于安全异常,它不会打开该页面。它要求提供安全证书,我已成功添加它。

然后就成功打开页面了。但主要问题是,每次我打开安全页面()时,它都要求添加证书。

任何消除证书问题的解决方案将不胜感激。

I am going to automate a process which is basically based on browser. I have written a script to automate the process and it is working fine.

When the script is going to open HTTPS :(Secure page), it is not opening the page, because of a security exception. It is asking for a security certificate and I am adding it successfully.

And after that it opens the page successfully. But the main problem is that it is asking to add the certificate every time when i am opening the secure page ().

Any resolution for removing the certificate issue would be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

居里长安 2024-09-07 00:10:44

几周前我写了一篇关于这个主题的文章。希望它可以帮助您:

http://mogotest.com/blog/2010/04/13/how-to-accept-self-signed-ssl-certificates-in-selenium

--
凯文

I wrote up an article on this topic a couple weeks back. Hopefully it helps you out:

http://mogotest.com/blog/2010/04/13/how-to-accept-self-signed-ssl-certificates-in-selenium

--
Kevin

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文