Skip to content

Commit 55a1590

Browse files
committed
Deprecate PhantomJS capabilities
1 parent e1ab34d commit 55a1590

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

rb/CHANGES

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Firefox:
88
* Fixed a bug when web extension failed to install using profile class (issue #4093)
99

1010
PhantomJS:
11-
* Support is deprecated in favor of headless Chrome/Firefox or HTMLUnit
11+
* Support is deprecated in favor of headless Chrome/Firefox or HTMLUnit.
12+
PhantomJS is no longer actively developed, and support will eventually
13+
be dropped.
1214

1315
3.5.2 (2017-09-07)
1416
==================

rb/lib/selenium/webdriver/remote/capabilities.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def internet_explorer(opts = {})
120120
alias_method :ie, :internet_explorer
121121

122122
def phantomjs(opts = {})
123+
WebDriver.logger.deprecate 'Selenium support for PhantomJS', 'headless Chrome/Firefox or HTMLUnit'
123124
new({
124125
browser_name: 'phantomjs',
125126
javascript_enabled: true,

0 commit comments

Comments
 (0)