Selenium Web 驱动程序和 selenium RC

发布于 2024-10-05 14:02:57 字数 55 浏览 1 评论 0原文

有没有一种简单的方法可以将现有的 selenium RC 脚本转换为 Webdriver 格式?

Is there a simple way i can convert my existing selenium RC scripts into the Webdriver format?

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

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

发布评论

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

评论(1

予囚 2024-10-12 14:02:57

现在无法“转换”测试,但可以使用其 调整它们以与 WebDriver 一起使用硒仿真

您应该记住,并非所有 Selenium 方法都在 WebDriverBackedSelenium 中实现。然而,在 WebDriver 的未来版本中,支持应该会扩展,并且在某个时候(可能是 Selenium 2 达到 Beta 状态时)Selenium 和 WebDriver 将合并,因此过渡会更容易

There's no way now to "convert" tests, but they can be tweaked to work with WebDriver using its Selenium Emulation.

You should keep in mind that not all Selenium methods are implemented in WebDriverBackedSelenium. However in future releases of WebDriver the support should expand and at some point (probably when Selenium 2 will reach the Beta status) the Selenium and WebDriver will be merged so the transition will be easier

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