Skip to content

Commit 1b1581d

Browse files
committed
Deprecating one more FirefoxDriver constructor
1 parent f97f413 commit 1b1581d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ public FirefoxDriver(FirefoxBinary binary) {
117117
warnAboutDeprecatedConstructor("FirefoxBinary", "setBinary(binary)");
118118
}
119119

120+
/**
121+
* @deprecated Prefer {@link FirefoxOptions#setProfile(FirefoxProfile)}.
122+
*/
123+
@Deprecated
120124
public FirefoxDriver(FirefoxProfile profile) {
121125
this(new FirefoxOptions().setProfile(profile));
122126
}

0 commit comments

Comments
 (0)