class Capybara::Apparition::TimeoutError

Public Class Methods

new(message = nil) click to toggle source
# File lib/capybara/apparition/errors.rb, line 203
def initialize(message = nil)
  @message = message
end

Public Instance Methods

message() click to toggle source
# File lib/capybara/apparition/errors.rb, line 207
def message
  "Timed out waiting for response to #{@message}. It's possible that this happened " \
    'because something took a very long time (for example a page load was slow). ' \
    'If so, setting the Apparition :timeout option to a higher value will help ' \
    '(see the docs for details). If increasing the timeout does not help, this is ' \
    'probably a bug in Apparition - please report it to the issue tracker.'
end