Exception: Capybara::Poltergeist::ObsoleteNode

Inherits:
NodeError show all
Defined in:
lib/capybara/poltergeist/errors.rb

Instance Attribute Summary

Attributes inherited from NodeError

#node

Attributes inherited from ClientError

#response

Instance Method Summary collapse

Methods inherited from NodeError

#initialize

Methods inherited from ClientError

#initialize

Constructor Details

This class inherits a constructor from Capybara::Poltergeist::NodeError

Instance Method Details

#messageObject



111
112
113
114
115
116
117
# File 'lib/capybara/poltergeist/errors.rb', line 111

def message
  "The element you are trying to interact with is either not part of the DOM, or is " \
    "not currently visible on the page (perhaps display: none is set). " \
    "It's possible the element has been replaced by another element and you meant to interact with " \
    "the new element. If so you need to do a new 'find' in order to get a reference to the " \
    "new element."
end