Skip to content

Commit

Permalink
Remove deprecated :log_file, :log_level, :implementation
Browse files Browse the repository at this point in the history
All these options have been deprecated since 3.3.0.
Use driver_opts instead.
  • Loading branch information
p0deje committed Nov 30, 2017
1 parent 31cbb0d commit cb53834
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rb/lib/selenium/webdriver/ie/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ def initialize(opts = {})
driver_opts = opts.delete(:driver_opts) || {}
port = opts.delete(:port) || Service::DEFAULT_PORT

%i[log_level log_file implementation].each do |method|
next unless opts.key? method
WebDriver.logger.deprecate ":#{method}", "driver_opts: {#{method}: '#{opts[method]}'}"
driver_opts[method] = opts.delete(method)
end

@service = Service.new(driver_path, port, driver_opts)
@service.start
opts[:url] = @service.uri
Expand Down

0 comments on commit cb53834

Please sign in to comment.