Chrome on remote webdriver (via Grid) failed to start

故事扮演 提交于 2019-12-01 06:43:20
Ezetha

Finally, it works!

I changed two things:

  • use a different chromedriver (linux64 instead of linux32)
  • include the chromedriver path on the command using Dwebdriver.chrome.driver switch:

    java -jar ./selenium-server-standalone-2.35.0.jar - Dwebdriver.chrome.driver='/opt/drivers/chromedriver' -role webdriver -hub  http://192.168.1.10:4444/grid/register -port 5566 -browser browserName=chrome,maxInstances=5,platform=LINUX &
    

Thank you very much for your reference :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!