Deprecating one more FirefoxDriver constructor
@@ -117,6 +117,10 @@ public FirefoxDriver(FirefoxBinary binary) {
warnAboutDeprecatedConstructor("FirefoxBinary", "setBinary(binary)");
}
+ /**
+ * @deprecated Prefer {@link FirefoxOptions#setProfile(FirefoxProfile)}.
+ */
+ @Deprecated
public FirefoxDriver(FirefoxProfile profile) {
this(new FirefoxOptions().setProfile(profile));
}
