Skip to content

Commit

Permalink
Deprecate PhantomJS capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Sep 22, 2017
1 parent e1ab34d commit 55a1590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rb/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ Firefox:
* Fixed a bug when web extension failed to install using profile class (issue #4093)

PhantomJS:
* Support is deprecated in favor of headless Chrome/Firefox or HTMLUnit
* Support is deprecated in favor of headless Chrome/Firefox or HTMLUnit.
PhantomJS is no longer actively developed, and support will eventually
be dropped.

3.5.2 (2017-09-07)
==================
Expand Down
1 change: 1 addition & 0 deletions rb/lib/selenium/webdriver/remote/capabilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def internet_explorer(opts = {})
alias_method :ie, :internet_explorer

def phantomjs(opts = {})
WebDriver.logger.deprecate 'Selenium support for PhantomJS', 'headless Chrome/Firefox or HTMLUnit'
new({
browser_name: 'phantomjs',
javascript_enabled: true,
Expand Down

0 comments on commit 55a1590

Please sign in to comment.