【问题标题】:Chromedriver compatibility error with Jenkins serverJenkins 服务器的 Chromedriver 兼容性错误
【发布时间】:2018-01-18 00:53:09
【问题描述】:

我正在运行包含 intatiate chromedriver 的 Selenium Webdriver 脚本,但在 Jenkins 服务器中出现此错误:

SEVERE: org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "C:\Program Files (x86)\Jenkins\workspace\TestSelenium1\chromedriver.exe" (in directory "."): CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher)
Current working directory : C:\Program Files (x86)\Jenkins\workspace\TestSelenium1
Selenium version:2.53.1
ChromeDriver: 2.21

有什么建议吗?

【问题讨论】:

标签: selenium jenkins


【解决方案1】:

我使用的是最新的 Chrome 驱动程序版本,但显然 Selenium 和 Windows Server 2016 似乎支持 ChromeDriver 2.33。所以当我降级版本时它对我有用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多