Exception: Maze::Error::AppiumElementNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Maze::Error::AppiumElementNotFoundError
- Defined in:
- lib/maze/errors.rb
Overview
An error raised when an appium element cannot be found
Instance Attribute Summary collapse
-
#element ⇒ Object
readonly
@# @!attribute [r] element @return [String] The named element that could not be found.
Instance Method Summary collapse
-
#initialize(message = 'Element not found', element = 'No element specified') ⇒ AppiumElementNotFoundError
constructor
Creates the error.
Constructor Details
#initialize(message = 'Element not found', element = 'No element specified') ⇒ AppiumElementNotFoundError
Creates the error
18 19 20 21 |
# File 'lib/maze/errors.rb', line 18 def initialize(='Element not found', element='No element specified') @element = element super() end |
Instance Attribute Details
#element ⇒ Object (readonly)
@# @!attribute [r] element
@return [String] The named element that could not be found
12 13 14 |
# File 'lib/maze/errors.rb', line 12 def element @element end |