class Capybara::Selenium::PersistentClient

Public Instance Methods

close() click to toggle source
Calls superclass method
# File lib/capybara/selenium/patches/persistent_client.rb, line 6
def close
  super
  @http.finish if @http&.started?
end

Private Instance Methods

http() click to toggle source
Calls superclass method
# File lib/capybara/selenium/patches/persistent_client.rb, line 13
def http
  super.tap do |http|
    http.start unless http.started?
  end
end