Class: Maze::Api::Appium::Manager
- Inherits:
-
Object
- Object
- Maze::Api::Appium::Manager
- Defined in:
- lib/maze/api/appium/manager.rb
Overview
Base class for all Appium managers.
Direct Known Subclasses
Instance Method Summary collapse
- #fail_driver(exception) ⇒ Object
- #failed_driver? ⇒ Boolean
-
#initialize ⇒ Manager
constructor
A new instance of Manager.
Constructor Details
Instance Method Details
#fail_driver(exception) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/maze/api/appium/manager.rb', line 16 def fail_driver(exception) Bugsnag.notify(exception) exception.instance_eval { def skip_bugsnag; true; end } @driver.fail_driver(exception.) Maze::Hooks::ErrorCodeHook.exit_code = Maze::Api::ExitCode::APPIUM_SESSION_FAILURE end |
#failed_driver? ⇒ Boolean
12 13 14 |
# File 'lib/maze/api/appium/manager.rb', line 12 def failed_driver? @driver.failed? end |