Class: Test::Unit::Capybara::ElementNotFound
- Inherits:
-
Capybara::ElementNotFound
- Object
- Capybara::ElementNotFound
- Test::Unit::Capybara::ElementNotFound
- Defined in:
- lib/test/unit/capybara.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#locator ⇒ Object
readonly
Returns the value of attribute locator.
-
#node ⇒ Object
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(node, kind, locator, message) ⇒ ElementNotFound
constructor
A new instance of ElementNotFound.
Constructor Details
#initialize(node, kind, locator, message) ⇒ ElementNotFound
Returns a new instance of ElementNotFound.
57 58 59 60 61 62 |
# File 'lib/test/unit/capybara.rb', line 57 def initialize(node, kind, locator, ) @node = node @kind = kind @locator = locator super() end |
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
56 57 58 |
# File 'lib/test/unit/capybara.rb', line 56 def kind @kind end |
#locator ⇒ Object (readonly)
Returns the value of attribute locator.
56 57 58 |
# File 'lib/test/unit/capybara.rb', line 56 def locator @locator end |
#node ⇒ Object
Returns the value of attribute node.
55 56 57 |
# File 'lib/test/unit/capybara.rb', line 55 def node @node end |