Method: Selenium::WebDriver::Firefox::Binary#quit
- Defined in:
- lib/selenium/webdriver/firefox/binary.rb
#quit ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
34 35 36 37 38 39 40 |
# File 'lib/selenium/webdriver/firefox/binary.rb', line 34 def quit return unless @process @process.poll_for_exit QUIT_TIMEOUT rescue ChildProcess::TimeoutError # ok, force quit @process.stop QUIT_TIMEOUT end |