目前哪个 Selenium 版本最稳定?

发布于 2024-12-16 23:55:30 字数 449 浏览 5 评论 0原文

我的项目的测试是在 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 技术交流群。

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

发布评论

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

评论(3

天气好吗我好吗 2024-12-23 23:55:30

你对硒的升级是正确的,我们也看到了一些稳定性问题。我们在 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?

度的依靠╰つ 2024-12-23 23:55:30

Selenium 版本 CHANGELOG 在发布之前总是经过充分测试,并且足够稳定,可以用于测试自动化和测试执行。

Maven 存储库

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.

Maven Repository

桜花祭 2024-12-23 23:55:30

Selenium 版本 3.141.59 是迄今为止最稳定的版本。

Selenium version 3.141.59 is so far most stable version.

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