class Selenium::WebDriver::Remote::Http::Curb

def client

def client
  @client ||= begin
    c = Curl::Easy.new
    c.max_redirects = MAX_REDIRECTS
    c.follow_location = true
    c.timeout = timeout if timeout
    c.verbose = WebDriver.logger.debug?
    c
  end
end