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.



104
105
106
107
# File 'lib/capybara/poltergeist/errors.rb', line 104

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

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



102
103
104
# File 'lib/capybara/poltergeist/errors.rb', line 102

def node
  @node
end