Deprecate `FirefoxBinary(String)` constructor
Considered a bad idea in retrospect. Oh well.
@@ -134,6 +134,11 @@ public FirefoxBinary(Channel channel) {
String.format("Cannot find firefox binary for channel '%s' in PATH", channel)));
}
+ /**
+ * @deprecated Perform the version check by taking a look at the version that comes back from the
+ * remote end in the returned {@link org.openqa.selenium.Capabilities}.
+ */
+ @Deprecated
public FirefoxBinary(String version) {
Executable systemBinary = locateFirefoxBinaryFromSystemProperty();
if (systemBinary != null) {
