Exception: Capybara::Lightpanda::ObsoleteNode
- Defined in:
- lib/capybara/lightpanda/errors.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(node, message = nil) ⇒ ObsoleteNode
constructor
A new instance of ObsoleteNode.
Constructor Details
#initialize(node, message = nil) ⇒ ObsoleteNode
Returns a new instance of ObsoleteNode.
42 43 44 45 |
# File 'lib/capybara/lightpanda/errors.rb', line 42 def initialize(node, = nil) @node = node super( || "Element is no longer attached to the DOM") end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
40 41 42 |
# File 'lib/capybara/lightpanda/errors.rb', line 40 def node @node end |