/*
 * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/)
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser General Public License
 * (LGPL) version 2.1 which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/lgpl-2.1.html
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 */
package io.github.bonigarcia.wdm.test;

import org.junit.Before;
import org.junit.BeforeClass;
import org.openqa.selenium.firefox.MarionetteDriver;
import org.openqa.selenium.remote.DesiredCapabilities;

import io.github.bonigarcia.wdm.MarionetteDriverManager;
import io.github.bonigarcia.wdm.base.BaseBrowserTst;

/**
 * Test with Marionette browser.
 *
 * @author Boni Garcia (boni.gg@gmail.com)
 * @since 1.4.0
 */
public class MarionetteTest extends BaseBrowserTst {

	@BeforeClass
	public static void setupClass() {
		validOS = false;

		if (validOS) {
			MarionetteDriverManager.getInstance().setup();
		}
	}

	@Before
	public void setupTest() {
		if (validOS) {
			DesiredCapabilities capabilities = DesiredCapabilities.firefox();
			capabilities.setCapability("marionette", true);
			driver = new MarionetteDriver(capabilities);
		}
	}

}

@@ -748,63 +748,8 @@
 ver;
-%0Aimport org.openqa.selenium.remote.DesiredCapabilities;
 %0A%0Aim
@@ -1215,128 +1215,8 @@
 ) %7B%0A
-%09%09%09DesiredCapabilities capabilities = DesiredCapabilities.firefox();%0A%09%09%09capabilities.setCapability(%22marionette%22, true);%0A
 %09%09%09d
@@ -1248,20 +1248,8 @@
 ver(
-capabilities
 );%0A%09

Remove capabilities from Marionette driver in test