为什么 Selenium 不从此内部 HTTPS URL 返回?
有人可以告诉我为什么 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我还不是 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!
这可能归因于
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