Class: Watir::HttpClient

Inherits:
Selenium::WebDriver::Remote::Http::Default
  • Object
show all
Defined in:
lib/watir/http_client.rb

Instance Method Summary collapse

Instance Method Details

#request(verb, url, headers, payload, redirects = 0) ⇒ Object



5
6
7
8
9
# File 'lib/watir/http_client.rb', line 5

def request(verb, url, headers, payload, redirects = 0)
  headers['User-Agent'] = "#{headers['User-Agent']} watir/#{Watir::VERSION}"

  super(verb, url, headers, payload, redirects)
end