Selenium server error: Unable to create new service chromedriverservice

后端 未结 5 1391
遥遥无期
遥遥无期 2021-01-18 02:33

I am trying to run webdriverio on my windows 10 computer and keep running into the same issue when trying to run my test js file. So I run this -jar /your/download/dir

5条回答
  •  礼貌的吻别
    2021-01-18 03:01

    When you start your Grid Node, make sure the path to the chromedriver.exe in -Dwebdriver.chrome.driver parameter is correct: Example:

    java -Dwebdriver.chrome.driver="C:\DEV\eclipse\MainWorkspace\webdrivers\chromedriver.exe" -jar selenium-server-standalone-3.141.59.jar -role node  -hub http://localhost:4444/grid/register -nodeConfig node-config.json > node_output.log 
    

提交回复
热议问题