Skip to content

Commit

Permalink
Get rid of a few Ruby warnings
Browse files Browse the repository at this point in the history
Fixes issue 8027
Fixes issue 8028
  • Loading branch information
jarib committed Oct 14, 2014
1 parent 4bf6ab1 commit 237cdf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rb/lib/selenium/webdriver/remote/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def initialize(opts = {})

@http = http_client
@capabilities = create_session(desired_capabilities)

@file_detector = nil
end

def browser
Expand Down
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/remote/http/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def use_proxy?
host == server_url.host || (
begin
IPAddr.new(host).include?(server_url.host)
rescue ArgumentError => ex
rescue ArgumentError
false
end
)
Expand Down

0 comments on commit 237cdf0

Please sign in to comment.