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.


85
86
87
88
# File 'lib/capybara/poltergeist/errors.rb', line 85

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

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node


83
84
85
# File 'lib/capybara/poltergeist/errors.rb', line 83

def node
  @node
end