Method: Appium::Capybara::Driver#quit

Defined in:
lib/appium_capybara/driver/appium/driver.rb

#quitObject

override

[View source]

118
119
120
121
122
123
124
125
# File 'lib/appium_capybara/driver/appium/driver.rb', line 118

def quit
  @appium_driver.driver_quit if @browser || @appium_driver
rescue Errno::ECONNREFUSED
  # Browser must have already gone
ensure
  @browser = nil
  @appium_driver = nil
end