Skip to content

Commit 3be8312

Browse files
committed
[java] Removing deprecated 'usingFirefoxBinary', now use {@link FirefoxOptions#setBinary(Path)}
1 parent 09302f0 commit 3be8312

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

java/src/org/openqa/selenium/firefox/GeckoDriverService.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import com.google.auto.service.AutoService;
2626
import java.io.File;
2727
import java.io.IOException;
28-
import java.nio.file.Path;
2928
import java.time.Duration;
3029
import java.util.ArrayList;
3130
import java.util.Arrays;
@@ -34,7 +33,6 @@
3433
import java.util.Map;
3534
import org.openqa.selenium.Capabilities;
3635
import org.openqa.selenium.WebDriverException;
37-
import org.openqa.selenium.internal.Require;
3836
import org.openqa.selenium.net.PortProber;
3937
import org.openqa.selenium.remote.service.DriverService;
4038

@@ -188,20 +186,6 @@ public int score(Capabilities capabilities) {
188186
return score;
189187
}
190188

191-
/**
192-
* Sets which browser executable the builder will use.
193-
*
194-
* @param firefoxBinary The browser executable to use.
195-
* @return A self reference.
196-
* @deprecated use {@link FirefoxOptions#setBinary(Path)}
197-
*/
198-
@Deprecated
199-
public Builder usingFirefoxBinary(FirefoxBinary firefoxBinary) {
200-
Require.nonNull("Firefox binary", firefoxBinary);
201-
this.firefoxBinary = firefoxBinary;
202-
return this;
203-
}
204-
205189
/**
206190
* Values of the Host header to allow for incoming requests.
207191
*

0 commit comments

Comments
 (0)