class Capybara::RackTest::Browser

def reset_host!

def reset_host!
  uri = URI.parse(driver.session_options.app_host || driver.session_options.default_host)
  @current_scheme = uri.scheme
  @current_host = uri.host
  @current_port = uri.port
end