Exception: Capybara::Apparition::NodeError

Inherits:
ClientError show all
Defined in:
lib/capybara/apparition/errors.rb

Direct Known Subclasses

MouseEventFailed, ObsoleteNode

Instance Attribute Summary collapse

Attributes inherited from ClientError

#response

Instance Method Summary collapse

Constructor Details

#initialize(node, response) ⇒ NodeError

Returns a new instance of NodeError.



116
117
118
119
# File 'lib/capybara/apparition/errors.rb', line 116

def initialize(node, response)
  @node = node
  super(response)
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



114
115
116
# File 'lib/capybara/apparition/errors.rb', line 114

def node
  @node
end