Class: Selenium::WebDriver::Remote::Bridge

Inherits:
Object
  • Object
show all
Defined in:
lib/fast-selenium.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#http_curbObject

Returns the value of attribute http_curb.



8
9
10
# File 'lib/fast-selenium.rb', line 8

def http_curb
  @http_curb
end

Instance Method Details

#httpObject



9
10
11
12
13
14
15
# File 'lib/fast-selenium.rb', line 9

def http
  unless @http_curb
    @http_curb = WebDriver::Remote::Http::Curb.new
    @http_curb.server_url = @http.send(:server_url)
  end
  @http_curb
end