makeMake sure that you have the capabilities set before running your script,there. There is a version compatibility issue going around.be
Be clear on what you want i. I know it would be a difficult to adjust with stack community but make sure you learn quicker
System.setProperty("webdriver.gecko.driver","/path/to/your/geckodriver); DesiredCapabilities capabilities=DesiredCapabilities.firefox(); capabilities.setCapability("marionette", true); WebDriver driver = new FirefoxDriver(capabilities); driver.get("your link");
.
System.setProperty("webdriver.gecko.driver","/path/to/your/geckodriver);
DesiredCapabilities capabilities=DesiredCapabilities.firefox();
capabilities.setCapability("marionette", true);
WebDriver driver = new FirefoxDriver(capabilities);
driver.get("your link");