Skip to main content

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");

make sure that you have the capabilities set before running your script,there is a version compatibility issue going around.be clear on what you want 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");

Make sure that you have the capabilities set before running your script. There is a version compatibility issue going around.

Be clear on what you want. I know it would be 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");
Source Link
Harri
  • 9
  • 1
  • 5

make sure that you have the capabilities set before running your script,there is a version compatibility issue going around.be clear on what you want 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");