Exception: Capybara::Poltergeist::NodeError
- Inherits:
-
ClientError
- Object
- StandardError
- Error
- ClientError
- Capybara::Poltergeist::NodeError
- Defined in:
- lib/capybara/poltergeist/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Attributes inherited from ClientError
Instance Method Summary collapse
-
#initialize(node, response) ⇒ NodeError
constructor
A new instance of NodeError.
Constructor Details
#initialize(node, response) ⇒ NodeError
Returns a new instance of NodeError.
104 105 106 107 |
# File 'lib/capybara/poltergeist/errors.rb', line 104 def initialize(node, response) @node = node super(response) end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
102 103 104 |
# File 'lib/capybara/poltergeist/errors.rb', line 102 def node @node end |