class Capybara::Apparition::ClickFailed
Public Instance Methods
message()
click to toggle source
# File lib/capybara/apparition/errors.rb, line 170 def message "Firing a #{name} at co-ordinates [#{position.join(', ')}] failed. Apparition detected " \ "another element with CSS selector '#{selector}' at this position. " \ 'It may be overlapping the element you are trying to interact with. ' end
name()
click to toggle source
# File lib/capybara/apparition/errors.rb, line 158 def name response['args'][0] end
position()
click to toggle source
# File lib/capybara/apparition/errors.rb, line 166 def position [response['args'][2][:x], response['args'][2][:y]] end
selector()
click to toggle source
# File lib/capybara/apparition/errors.rb, line 162 def selector response['args'][1] end