为什么 Selenium 不从此内部 HTTPS URL 返回?

发布于 2024-09-25 00:37:07 字数 307 浏览 1 评论 0原文

有人可以告诉我为什么 Selenium 无法从打开此内部 HTTPS URL 返回吗?

https://red1cert.red-usa.com:37443/index.php3

调用 selenium.open("https://red1cert.red-usa.com:37443/index.php3") 后,Selenium 挂起,并在很长一段时间后,它因服务器错误而终止。请帮忙。

Can someone please tell me why Selenium can't return from opening this internal HTTPS URL?

https://red1cert.red-usa.com:37443/index.php3

After a call to selenium.open("https://red1cert.red-usa.com:37443/index.php3"), Selenium hangs and after a very long while, it terminates with server error. Help please.

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

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

发布评论

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

评论(2

萌逼全场 2024-10-02 00:37:07

我还不是 Selenium RC 的专家,目前正在尝试。也就是说,我发现如果将速度设置为 1000 之类的值,可能会有所帮助!

在Java中:selenium.setSpeed("1000");
在 PHP 中: $this->setSpeed("1000");

祝你好运!

I am not yet an expert with Selenium RC, trying it currently. That said, I discovered that if you set speed to something like 1000, it might help!

In Java: selenium.setSpeed("1000");
In PHP: $this->setSpeed("1000");

Good luck!

谈情不如逗狗 2024-10-02 00:37:07

这可能归因于 selenium.open() bug,在 1.0.3 中,它变得无响应。我在连续打开多个站点的脚本中遇到了这种情况。
假设您的 URL 在 Selenium 之外是可访问的,请尝试使用 Selenium 2.0 并执行相同的命令。

这是我之前的问题的链接 -
selenium.open() 在迭代测试中变得无响应

This may attribute to the selenium.open() bug, with 1.0.3, where it becomes unresponsive. I encountered this for a script opening multiple sites sequentially.
Assuming your URL is reachable, outside of Selenium, try using Selenium 2.0 and executing the same command.

Here is the link to my question from before -
selenium.open() becomes unresponsive in an iterative test

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