Exception: Capybara::Poltergeist::BrowserError
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#javascript_error ⇒ Object
32
33
34
|
# File 'lib/capybara/poltergeist/errors.rb', line 32
def javascript_error
JSErrorItem.new(*response['args'])
end
|
#message ⇒ Object
36
37
38
39
40
|
# File 'lib/capybara/poltergeist/errors.rb', line 36
def message
"There was an error inside the PhantomJS portion of Poltergeist. " \
"This is probably a bug, so please report it. " \
"\n\n#{javascript_error}"
end
|
#name ⇒ Object
28
29
30
|
# File 'lib/capybara/poltergeist/errors.rb', line 28
def name
response['name']
end
|