Exception: Capybara::Poltergeist::StatusFailError

Inherits:
ClientError show all
Defined in:
lib/capybara/poltergeist/errors.rb

Instance Attribute Summary

Attributes inherited from ClientError

#response

Instance Method Summary collapse

Methods inherited from ClientError

#initialize

Constructor Details

This class inherits a constructor from Capybara::Poltergeist::ClientError

Instance Method Details

#messageObject



63
64
65
# File 'lib/capybara/poltergeist/errors.rb', line 63

def message
  "Request to '#{url}' failed to reach server, check DNS and/or server status"
end

#urlObject



59
60
61
# File 'lib/capybara/poltergeist/errors.rb', line 59

def url
  response['args'].first
end