lib/selenium/webdriver/chrome/command_executor.rb in selenium-webdriver-0.1.2 vs lib/selenium/webdriver/chrome/command_executor.rb in selenium-webdriver-0.1.3.dev
- old
+ new
@@ -44,16 +44,16 @@
def port
@server.addr[1]
end
def uri
- "http://localhost:#{port}/chromeCommandExecutor"
+ "http://#{Platform.localhost}:#{port}/chromeCommandExecutor"
end
private
def localhost
- Platform.ironruby? ? "localhost" : "0.0.0.0" # yeah, weird..
+ Platform.ironruby? ? Platform.localhost : "0.0.0.0" # yeah, weird..
end
def start_run_loop
while(@listening) do
socket = @server.accept