【问题标题】:Running Selenium tests with IE using python使用 python 使用 IE 运行 Selenium 测试
【发布时间】:2012-06-15 15:34:35
【问题描述】:

安装页面here 说将 selenium 服务器独立 jar 添加到 CLASSPATH。罐子有什么作用?我需要吗?我已经运行了一些硒代码,没有它也可以工作。我只是实例化了 IE 做

driver = driver.Ie()

我在 Python 中运行 webdriver (selenium 2),尝试测试 IE9(然后在测试 IE8 之后)。 (我没有使用 .NET,只是运行一个 .py 文件)谢谢!

【问题讨论】:

    标签: python internet-explorer selenium-webdriver


    【解决方案1】:

    那是您需要使用“Selenium 1”运行的 jar。据我所知,Selenium 2 没有必要。它可以在进行远程测试时使用(我还没有在 Selenium 2 中这样做过),但本地测试绝对不需要它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-04-29
      • 2013-02-20
      • 2017-09-17
      • 1970-01-01
      • 1970-01-01
      • 2013-06-13
      • 1970-01-01
      相关资源
      最近更新 更多