Class: Capybara::Selenium::PersistentClient
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Selenium::WebDriver::Remote::Http::Default
|
|
Instance Chain:
self,
Selenium::WebDriver::Remote::Http::Default
|
|
Inherits: |
Selenium::WebDriver::Remote::Http::Default
|
Defined in: | lib/capybara/selenium/patches/persistent_client.rb |
Instance Method Summary
Instance Method Details
#close
[ GitHub ]# File 'lib/capybara/selenium/patches/persistent_client.rb', line 6
def close super @http.finish if @http&.started? end
#http (private)
[ GitHub ]# File 'lib/capybara/selenium/patches/persistent_client.rb', line 13
def http super.tap do |http| http.start unless http.started? end end