unable to connect to chromedriver http://127.0.0.1:46050 (Selenium::WebDriver::Error::WebDriverError)

后端 未结 4 1909
面向向阳花
面向向阳花 2020-12-19 17:52

I get this error when I run my cucumber tests:

\"*Unable to either launch or connect to Chrome. Please check that ChromeDriver is up-to-date. Using Chrome binary

4条回答
  •  借酒劲吻你
    2020-12-19 18:16

    Finally I found the answer:

    if you want to run GUI tests on Jenkins CI running on Windows do not configure it as a windows service instead run it from the command prompt or set it up as a scheduled task to run on windows logon using the command “java -jar jenkins.war”

    taken from this article

提交回复
热议问题