TestingBot Blog

TestingBot provides a cloud of browsers to run Automated, Live and Visual browser testing.

< Back to Blog Overview

Marionette, the next generation of FirefoxDriver


Starting with Firefox 46, it will no longer be possible to install unsigned extensions with Firefox.

Since Selenium currently uses a Firefox extension to run WebDriver tests on Firefox, this will no longer work once Firefox 46 is released to the public.

Fortunately, there is a new way to ensure everyone can still run WebDriver tests on Firefox 46 and higher.

With Marionette, which is the next generation of FirefoxDriver, you can still run your existing tests on Firefox 46+ without modifying your tests.

Just like ChromeDriver and InternetExplorerDriver, we now have Wires, which is an executable that runs alongside the browser and allows you to run your tests on Firefox.

To use Marionette, all you need to do is install the Wires executable in your PATH and adjust your test to include a new desired capability:

DesiredCapabilities capabilities = DesiredCapabilities.firefox();
// Set Marionette on so the Grid will use this instead of normal FirefoxDriver
capabilities.setCapability("marionette", true);

WebDriver driver = new RemoteWebDriver(capabilities); 

Marionette on TestingBot

TestingBot is now capable to run Marionette tests. All our VMs have the latest Wires executable and are fully prepared to run Firefox tests via Marionette.

The good news is that you don't even have to do anything, starting with the current beta/dev builds and Firefox 46 TestingBot will automatically switch to use Marionette for your Firefox tests.

< Back to Blog Overview

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required