SessionNotCreatedException: Unable to create new service: GeckoDriverService with Selenium Grid on Ubuntu failing to drive Firefox

前端 未结 1 552
礼貌的吻别
礼貌的吻别 2020-12-02 00:37

I fail to drive Firefox from Selenium with geckodriver. This is odd, because chrome is driven with same framework without errors!

These are my Version numbers:

相关标签:
1条回答
  • 2020-12-02 01:17

    A few words about Selenium Grid Configuration:

    • You mentioned your Test Bed as selenium-server-standalone-3.7.1.jar and client-combined-3.5.3-nodeps.jar. As per Best Practices, you should use either of the following not both

    • Always try to use the latest released version i.e. selenium-server-standalone-3.7.1.jar

    • In selenium_grid.sh: you need to change the following :

      java -Dwebdriver.gecko.driver=/opt/selenium/geckodriver
      
    0 讨论(0)
提交回复
热议问题