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

Instance Method Summary collapse

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