class Capybara::Poltergeist::TimeoutError

Public Class Methods

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

Public Instance Methods

message() click to toggle source
# File lib/capybara/poltergeist/errors.rb, line 169
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 Poltergeist :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 Poltergeist - please report it to the issue tracker."
end