Chrome on remote webdriver (via Grid) failed to start

后端 未结 1 1620
星月不相逢
星月不相逢 2021-01-14 00:06

I\'m having trouble launching Cucumber test with Chrome using remote webdriver capabilities on Grid (1 linux hub and 1 linux node with Firefox and Chrome). Firefox test go v

相关标签:
1条回答
  • 2021-01-14 00:31

    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 :)

    0 讨论(0)
提交回复
热议问题