目前哪个 Selenium 版本最稳定?
我的项目的测试是在 Selenium 2.0a_(Alpha 版本)可用时编写的,我想将 Selenium 升级到更新的版本。这样做的一个很好的原因是旧版本不适用于最新的 Chrome 版本。其他原因是许多错误修复,尤其是 IEDriver 重写。
我尝试使用版本 2.11.0,但那里有一个重大错误,并且它已经存在了一段时间。该错误(问题 2513)抛出随机异常,并且显然至少从 2.6.0 版本开始发生。有一个解决方法,但它不适用于我。该错误非常严重,测试只是随机失败。
我倾向于尝试 2.5.0 版本。在投入时间和精力之前,有谁知道这个版本有什么重大问题吗?
更一般地说,您认为哪个 Selenium 版本最稳定,为什么?
My project's tests were written when Selenium 2.0a_ (Alpha versions) were available, and I want to upgrade Selenium to a more recent version. One good reason for this is that the old version does not work with recent Chrome versions. Other reasons are the many bug fixes, especially the IEDriver rewrite.
I tried using version 2.11.0, but there's a significant bug there, and it's been around for a while. The bug (issue 2513) throws random exceptions and apparently happens at least since version 2.6.0. There's a workaround, but it's not applicable for me. The bug is quite serious, tests just fail randomly.
I'm leaning toward trying version 2.5.0. Before investing time and effort, does anyone know of any major problem with this version?
More generally, what Selenium version you consider the most stable, and why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
你对硒的升级是正确的,我们也看到了一些稳定性问题。我们在 2.5 中体验到了良好的稳定性,现在我们已经转向 2.9,并且测试与 2.5 中一样相对稳定。
请告诉我你的情况如何?
You are correct with the upgrades to selenium we have seen some stability issues too.. We experienced good stability with 2.5 and now we have moved on to 2.9 and the tests are relatively stable as much as it was in 2.5.
Do let me know how things work out for you?
Selenium 版本 CHANGELOG 在发布之前总是经过充分测试,并且足够稳定,可以用于测试自动化和测试执行。
The Selenium versions mentioned in CHANGELOG are always well-tested before release and are stable enough to be used for test automation and test execution.
Selenium 版本 3.141.59 是迄今为止最稳定的版本。
Selenium version 3.141.59 is so far most stable version.