Exception: Capybara::Apparition::BrowserError
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#error_parameters ⇒ Object
43
44
45
|
# File 'lib/capybara/apparition/errors.rb', line 43
def error_parameters
(response['args'] || []).join("\n")
end
|
#message ⇒ Object
47
48
49
50
51
52
|
# File 'lib/capybara/apparition/errors.rb', line 47
def message
'There was an error inside Apparition. ' \
'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
39
40
41
|
# File 'lib/capybara/apparition/errors.rb', line 39
def name
response['name']
end
|