class Capybara::SessionConfig

def default_host=(url)

def default_host=(url)
  raise ArgumentError, "Capybara.default_host should be set to a url (http://www.example.com). Attempted to set #{url.inspect}." if url && url !~ URI::DEFAULT_PARSER.make_regexp
  @default_host = url
end