gpt4 book ai didi

selenium - Thoughtworks 和 openqa selenium 的区别

转载 作者:行者123 更新时间:2023-12-01 09:01:15 30 4
gpt4 key购买 nike

openqa.seleniumthoughtworks.selenium 有什么区别?它们如何相互兼容?

openqa.selenium包中没有Selenium类,但有WebDriver类。我想在我的测试中使用 webElement,它导入了 thinkworks.selenium.Selenium。

有些教程使用openqa.selenium,其他的thoughtworks.selenium,我完全糊涂了。

最佳答案

  • thoughtworks.selenium 是原始的 Selenium(又名 Selenium 1,或 Selenium-RC)。
  • openqa.selenium 是 Selenium 2 又名 Selenium WebDriver。

关于selenium - Thoughtworks 和 openqa selenium 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16677971/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com