Skip to content

Commit

Permalink
Deprecate legacy firefox driver
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Mar 6, 2019
1 parent 857c471 commit 8095d98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions rb/CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
3.x (unreleased)
====================

Firefox:
* Deprecate legacy driver

3.141.0 (2018-10-31)
====================

Expand Down
4 changes: 3 additions & 1 deletion rb/lib/selenium/webdriver/firefox/legacy/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ module Legacy
class Driver < WebDriver::Driver
include DriverExtensions::TakesScreenshot

def initialize(opts = {})
def initialize(opts = {}) # rubocop:disable Metrics/AbcSize
WebDriver.logger.deprecate 'Selenium support for legacy Firefox', 'Firefox via marionette'

opts[:desired_capabilities] ||= Remote::Capabilities.firefox

if opts.key? :proxy
Expand Down

0 comments on commit 8095d98

Please sign in to comment.