Class: Taf::TestSteps::Handlers::BrowserQuit
- Defined in:
- lib/taf/test_steps/handlers/base/browser_quit.rb
Overview
Browser Quit function.
Instance Method Summary collapse
Methods inherited from Base
#initialize, #login_check, #login_process, #mem_word_check, perform, #portal_mem_word, register
Constructor Details
This class inherits a constructor from Taf::TestSteps::Handlers::Base
Instance Method Details
#perform ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/taf/test_steps/handlers/base/browser_quit.rb', line 10 def perform Taf::Browser.b.quit Taf::MyLog.log.info('Browser has closed successfully') true rescue StandardError Taf::MyLog.log.warn('Browser has failed to close') false end |