org.openqa.selenium.SessionNotCreatedException: Unable to find a matching set of capabilities while initiating Firefox v37 through Selenium v3.11.0

后端 未结 5 969
[愿得一人]
[愿得一人] 2020-11-30 15:16

I am trying to run test a run a website in Firefox, but I am getting error \"The path to the driver executable must be set by the webdriver.gecko.driver system property;\" I

5条回答
  •  醉话见心
    2020-11-30 15:54

    This is how system property is set:

    System.setProperty("webdriver.gecko.driver", "C:\\...\\geckodriver.exe");
    

提交回复
热议问题