Skip to content

Commit

Permalink
Remove OSS version of Manager and replace it with the W3C version
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Apr 18, 2019
1 parent 36ff2f0 commit 45ba014
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 49 deletions.
1 change: 0 additions & 1 deletion rb/lib/selenium/webdriver/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
require 'selenium/webdriver/common/logger'
require 'selenium/webdriver/common/logs'
require 'selenium/webdriver/common/manager'
require 'selenium/webdriver/common/w3c_manager'
require 'selenium/webdriver/common/search_context'
require 'selenium/webdriver/common/interactions/key_actions'
require 'selenium/webdriver/common/interactions/pointer_actions'
Expand Down
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def add_cookie(opts = {})
#

def cookie_named(name)
all_cookies.find { |c| c[:name] == name }
convert_cookie(@bridge.cookie(name))
end

#
Expand Down
45 changes: 0 additions & 45 deletions rb/lib/selenium/webdriver/common/w3c_manager.rb

This file was deleted.

4 changes: 2 additions & 2 deletions rb/lib/selenium/webdriver/remote/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ def execute_async_script(script, *args)
# cookies
#

def options
@options ||= WebDriver::W3COptions.new(self)
def manage
@manage ||= WebDriver::Manager.new(self)
end

def add_cookie(cookie)
Expand Down

0 comments on commit 45ba014

Please sign in to comment.