class Capybara::Cuprite::ObsoleteNode
Attributes
node[R]
Public Class Methods
new(node, response)
click to toggle source
Calls superclass method
Capybara::Cuprite::ClientError::new
# File lib/capybara/cuprite/errors.rb, line 48 def initialize(node, response) @node = node super(response) end
Public Instance Methods
message()
click to toggle source
# File lib/capybara/cuprite/errors.rb, line 53 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 is 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