Skip to content

Commit df4aca9

Browse files
committed
Mark XPI driver options as being deprecated
1 parent 2a0265b commit df4aca9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,19 @@ private void mirror(FirefoxOptions that) {
185185
if (that.profile != null) { setProfile(that.profile); }
186186
}
187187

188+
/**
189+
* @deprecated This method will be deleted and will not be replaced.
190+
*/
191+
@Deprecated
188192
public FirefoxOptions setLegacy(boolean legacy) {
189193
setCapability(MARIONETTE, !legacy);
190194
return this;
191195
}
192196

197+
/**
198+
* @deprecated This method will be deleted and will not be replaced.
199+
*/
200+
@Deprecated
193201
public boolean isLegacy() {
194202
return legacy;
195203
}

java/client/src/org/openqa/selenium/firefox/xpi/XpiDriverService.java

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
import java.util.function.Supplier;
6363
import java.util.stream.Stream;
6464

65+
/**
66+
* @deprecated This class will not be replaced.
67+
*/
68+
@Deprecated
6569
public class XpiDriverService extends FirefoxDriverService {
6670

6771
private static final String NO_FOCUS_LIBRARY_NAME = "x_ignore_nofocus.so";

0 commit comments

Comments
 (0)