Exception: Capybara::Poltergeist::TimeoutError
- Defined in:
- lib/capybara/poltergeist/errors.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
- #message ⇒ Object
Constructor Details
#initialize(message) ⇒ TimeoutError
Returns a new instance of TimeoutError.
166 167 168 |
# File 'lib/capybara/poltergeist/errors.rb', line 166 def initialize() @message = end |
Instance Method Details
#message ⇒ Object
170 171 172 173 174 175 176 |
# File 'lib/capybara/poltergeist/errors.rb', line 170 def "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 |