Skip to content

Commit

Permalink
rb: update edge capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jul 31, 2015
1 parent 68b4efa commit 057e2bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions rb/lib/selenium/webdriver/edge/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def initialize(opts = {})
}

remote_opts.merge!(:http_client => http_client) if http_client

super(remote_opts)
end

Expand Down Expand Up @@ -84,8 +83,6 @@ def create_capabilities(opts)
raise ArgumentError, "unknown option#{'s' if opts.size != 1}: #{opts.inspect}"
end

edge_options = caps['edgeOptions'] || {}
caps['edgeOptions'] = edge_options
caps['page_load_strategy'] = page_load_strategy

caps
Expand Down
5 changes: 3 additions & 2 deletions rb/lib/selenium/webdriver/remote/capabilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ def chrome(opts = {})

def edge(opts = {})
new({
:browser_name => "edge",
:platform => :windows
:browser_name => "edge",
:platform => :windows,
:javascript_enabled => true
}.merge(opts))
end

Expand Down

0 comments on commit 057e2bc

Please sign in to comment.