【发布时间】: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
有什么建议吗?
【问题讨论】:
-
jenkins 服务器上有 chromedriver 吗?
-
是的,chromedriver 在那里
-
这有用吗?可能重复? stackoverflow.com/questions/39635044/…