Selenium 3.0 Firefx Driver fails with org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session

前端 未结 7 2056
渐次进展
渐次进展 2020-12-29 11:02

Selenium 3.0 Firefx Driver fails with org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session.

System.setProperty(\"webdriver.gec         


        
7条回答
  •  囚心锁ツ
    2020-12-29 11:37

    You need to download geckodriver. And then set

    System.setProperty("webdriver.gecko.driver", "path\\to\\geckodriver.exe")
    

    Check this link.

提交回复
热议问题