Class: Selenium::WebDriver::Remote::Http::Curb

Inherits:
Common
  • Object
show all
Defined in:
lib/selenium/webdriver/remote/http/curb.rb

Overview

An alternative to the default Net::HTTP client.

This can be used for the Firefox and Remote drivers if you have Curb installed.

Examples:

Using Curb

require 'selenium/webdriver/remote/http/curb'
include Selenium

driver = WebDriver.for :firefox, :http_client => WebDriver::Remote::Http::Curb.new

Constant Summary

Constants inherited from Common

Selenium::WebDriver::Remote::Http::Common::CONTENT_TYPE, Selenium::WebDriver::Remote::Http::Common::DEFAULT_HEADERS, Selenium::WebDriver::Remote::Http::Common::MAX_REDIRECTS

Instance Attribute Summary

Attributes inherited from Common

#timeout

Instance Method Summary collapse

Methods inherited from Common

#call, #close, #initialize

Constructor Details

This class inherits a constructor from Selenium::WebDriver::Remote::Http::Common

Instance Method Details

#quit_errorsObject



42
43
44
# File 'lib/selenium/webdriver/remote/http/curb.rb', line 42

def quit_errors
  [Curl::Err::RecvError] + super
end