Exception: Capybara::Poltergeist::StatusFailError
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#details ⇒ Object
63
64
65
|
# File 'lib/capybara/poltergeist/errors.rb', line 63
def details
response['args'][1]
end
|
#message ⇒ Object
67
68
69
70
71
|
# File 'lib/capybara/poltergeist/errors.rb', line 67
def message
msg = "Request to '#{url}' failed to reach server, check DNS and/or server status"
msg += " - #{details}" if details
msg
end
|
#url ⇒ Object
59
60
61
|
# File 'lib/capybara/poltergeist/errors.rb', line 59
def url
response['args'].first
end
|