Method: Selenium::WebDriver::Driver#close

Defined in:
lib/selenium/webdriver/common/driver.rb

#closeObject

Close the current window, or the browser if no windows are left.

[View source]

163
164
165
# File 'lib/selenium/webdriver/common/driver.rb', line 163

def close
  bridge.close
end