Class: Selenium::WebDriver::Remote::Http::Curb
- 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.
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 collapse
- 
  
    
      #timeout  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute timeout.
 
Instance Method Summary collapse
- 
  
    
      #initialize(timeout: nil)  ⇒ Curb 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Curb.
 - #quit_errors ⇒ Object
 
Methods inherited from Common
Constructor Details
#initialize(timeout: nil) ⇒ Curb
Returns a new instance of Curb.
      42 43 44 45  | 
    
      # File 'lib/selenium/webdriver/remote/http/curb.rb', line 42 def initialize(timeout: nil) @timeout = timeout super() end  | 
  
Instance Attribute Details
#timeout ⇒ Object
Returns the value of attribute timeout.
      40 41 42  | 
    
      # File 'lib/selenium/webdriver/remote/http/curb.rb', line 40 def timeout @timeout end  | 
  
Instance Method Details
#quit_errors ⇒ Object
      47 48 49  | 
    
      # File 'lib/selenium/webdriver/remote/http/curb.rb', line 47 def quit_errors [Curl::Err::RecvError] + super end  |