Exception: Capybara::Poltergeist::BrowserError
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#error_parameters ⇒ Object
34
35
36
|
# File 'lib/capybara/poltergeist/errors.rb', line 34
def error_parameters
response['args'].join("\n")
end
|
#message ⇒ Object
38
39
40
41
42
43
|
# File 'lib/capybara/poltergeist/errors.rb', line 38
def message
"There was an error inside the PhantomJS portion of Poltergeist. " \
"If this is the error returned, and not the cause of a more detailed error response, " \
"this is probably a bug, so please report it. " \
"\n\n#{name}: #{error_parameters}"
end
|
#name ⇒ Object
30
31
32
|
# File 'lib/capybara/poltergeist/errors.rb', line 30
def name
response['name']
end
|