这是您问题的答案:
The error
UnreachableBrowserException: Could not start a new session.Possible causes are invalid address of the remote server or browser start-upfailuresays it all.
As per guru99.com it is
mentioned to use
webdriver.firefox.marionettewithin
System.setProperty.
In
Selenium 3.xwe would be using
webdriver.gecko.driverinstead.
So consider changing the line of pre:
System.setProperty("webdriver.firefox.marionette","C:\geckodriver.exe");to:
System.setProperty("webdriver.gecko.driver","C:\your_directory\geckodriver.exe");Let me know if this Answers your Question.



