Exception: Capybara::Lightpanda::ObsoleteNode
- Inherits:
-
BrowserError
- Object
- StandardError
- Error
- BrowserError
- Capybara::Lightpanda::ObsoleteNode
- Defined in:
- lib/capybara/lightpanda/errors.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Attributes inherited from BrowserError
Instance Method Summary collapse
-
#initialize(node, message = nil) ⇒ ObsoleteNode
constructor
A new instance of ObsoleteNode.
Methods inherited from BrowserError
Constructor Details
#initialize(node, message = nil) ⇒ ObsoleteNode
Returns a new instance of ObsoleteNode.
60 61 62 63 |
# File 'lib/capybara/lightpanda/errors.rb', line 60 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.
58 59 60 |
# File 'lib/capybara/lightpanda/errors.rb', line 58 def node @node end |