public void runMarionnete() throws IOException {
DesiredCapabilities dc = DesiredCapabilities.firefox();
System.setProperty("webdriver.firefox.bin", "C:\\Firefox\\firefox.exe");
System.setProperty("webdriver.gecko.driver","C:\\Drivers\\wires-0.6.2-win.exe");
FirefoxProfile profile = new FirefoxProfile();
profile.addExtension(new File("/somefileLocation"));
dc.setCapability(FirefoxDriver.PROFILE, profile);
RemoteWebDriver _driver = new MarionetteDriver(dc);
}
PS : I have not played around with Marionette driver, so am not sure if this would work. Its an educated guess that this should work, because MarionetteDriver only aims at decoupling the server component from the selenium codebase and move towards a Server component model that all the other browser flavors are following (IE/Chrome).
This would basically help Selenium start supporting the latest versions of Firefox, without having to go with a release.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/14e3164c-992d-4dff-9f6a-4e6e9284ebad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public void launchFirefoxMarionnete() throws Exception{
FirefoxProfile profile = new FirefoxProfile();
List<File> extensions = getExtensionsToDriver();
for (File file : extensions) {
profile.addExtension(file);
}
DesiredCapabilities dc = DesiredCapabilities.firefox();
dc.setCapability(FirefoxDriver.PROFILE, profile);
OSUtils.setProperty("webdriver.firefox.bin", new File(TestConfig.getInstance().get("BrowserPath")).getAbsolutePath());
OSUtils.setProperty("webdriver.gecko.driver",PathConfig.getInstance().resolve("drivers","wires-0.6.2-win.exe"));
_driver = new MarionetteDriver(dc);
}
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0b8f8f8b-3492-4280-a3bf-075ecfa0da67%40googlegroups.com.