Skip to content

Commit d07d936

Browse files
committed
Deleting marionette tcp connector
1 parent ccc51aa commit d07d936

File tree

2 files changed

+1
-390
lines changed

2 files changed

+1
-390
lines changed

java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import org.openqa.selenium.Platform;
3535
import org.openqa.selenium.Proxy;
3636
import org.openqa.selenium.WebDriverException;
37-
import org.openqa.selenium.firefox.internal.MarionetteConnection;
3837
import org.openqa.selenium.firefox.internal.NewProfileExtensionConnection;
3938
import org.openqa.selenium.firefox.internal.ProfilesIni;
4039
import org.openqa.selenium.internal.Killable;
@@ -107,10 +106,6 @@ public static final class SystemProperty {
107106
// For now, only enable native events on Windows
108107
public static final boolean DEFAULT_ENABLE_NATIVE_EVENTS = Platform.getCurrent().is(WINDOWS);
109108

110-
// For now, only enable native events on Windows
111-
public static final boolean USE_MARIONETTE = Boolean.parseBoolean(
112-
System.getProperty(SystemProperty.DRIVER_USE_MARIONETTE));
113-
114109
// Accept untrusted SSL certificates.
115110
@Deprecated
116111
public static final boolean ACCEPT_UNTRUSTED_CERTIFICATES = true;
@@ -300,15 +295,7 @@ protected ExtensionConnection connectTo(FirefoxBinary binary, FirefoxProfile pro
300295
Lock lock = obtainLock(profile);
301296
try {
302297
FirefoxBinary bin = binary == null ? new FirefoxBinary() : binary;
303-
304-
if (USE_MARIONETTE) {
305-
System.out.println(String.format(
306-
"*** Use MarionetteDriver class instead of setting %s property ***",
307-
SystemProperty.DRIVER_USE_MARIONETTE));
308-
return new MarionetteConnection(lock, bin, profile, host);
309-
} else {
310-
return new NewProfileExtensionConnection(lock, bin, profile, host);
311-
}
298+
return new NewProfileExtensionConnection(lock, bin, profile, host);
312299
} catch (Exception e) {
313300
throw new WebDriverException(e);
314301
}

0 commit comments

Comments
 (0)