【问题标题】:The path to the driver executable must be set by the webdriver.gecko.driver system property驱动程序可执行文件的路径必须由 webdriver.gecko.driver 系统属性设置
【发布时间】:2017-10-23 06:54:43
【问题描述】:

我正在尝试解决此处描述的问题: https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/4757 经过一些编辑,通过在本地构建 selenium 独立服务器。并且在发布后获取本地版本的 selenium 独立服务器“selenium-server-standalone-3.0.0-beta1.jar”,它运行。但是当我尝试从量角器或 selenium builder 连接到服务器时,我收到错误:

“WebDriverError:驱动程序可执行文件的路径必须由 webdriver.gecko.driver 系统属性设置;更多信息,请参阅https://github.com/jgraham

如何集成(或做某事)以获取 selenium 独立 serer 与集成的 firefox 驱动程序?

【问题讨论】:

    标签: java selenium


    【解决方案1】:

    对我有用的方法是使用 GIT 从 github 克隆源代码。之前我下载了 zip 但它不起作用,然后我通过 sunig GIT 克隆源并执行此处描述的所有步骤:http://shengwangi.blogspot.ru/2014/08/how-to-build-selenium-from-source.html,除了“下载第 3 方库”步骤。

    【讨论】:

      猜你喜欢
      • 2017-09-11
      • 2017-12-21
      • 2017-03-16
      • 1970-01-01
      • 2017-02-04
      • 2016-12-05
      • 2020-03-14
      • 2017-09-07
      • 1970-01-01
      相关资源
      最近更新 更多