Adding a warn on deprecated FirefoxDriver constructor
@@ -123,6 +123,7 @@ public FirefoxDriver(FirefoxBinary binary) {
@Deprecated
public FirefoxDriver(FirefoxProfile profile) {
this(new FirefoxOptions().setProfile(profile));
+ warnAboutDeprecatedConstructor("FirefoxProfile", "setProfile(profile)");
}
/**
