Skip to content

Commit d603bca

Browse files
committed
Deprecate PhontomJS DesiredCapability
1 parent a8aa455 commit d603bca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java

+4
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ public static DesiredCapabilities safari() {
194194
return new DesiredCapabilities(BrowserType.SAFARI, "", Platform.MAC);
195195
}
196196

197+
/**
198+
* @deprecated PhantomJS is no longer actively developed, and support will eventually be dropped.
199+
*/
200+
@Deprecated
197201
public static DesiredCapabilities phantomjs() {
198202
return new DesiredCapabilities(BrowserType.PHANTOMJS, "", Platform.ANY);
199203
}

0 commit comments

Comments
 (0)