Exception: Capybara::Poltergeist::NodeError

Inherits:
ClientError show all
Defined in:
lib/capybara/poltergeist/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.



91
92
93
94
# File 'lib/capybara/poltergeist/errors.rb', line 91

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

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



89
90
91
# File 'lib/capybara/poltergeist/errors.rb', line 89

def node
  @node
end