Skip to content

Commit

Permalink
rb: force localhost for edge
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jul 31, 2015
1 parent 24e20e0 commit 68b4efa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rb/lib/selenium/webdriver/edge/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ def initialize(opts = {})
url = opts.delete(:url)
else
@service = Service.default_service(*extract_service_args(opts))

if @service.instance_variable_get("@host") == "127.0.0.1"
@service.instance_variable_set("@host", 'localhost')
end

@service.start

url = @service.uri
Expand Down

0 comments on commit 68b4efa

Please sign in to comment.