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
43
44
45
|
# File 'lib/capybara/poltergeist/errors.rb', line 43
def javascript_error
JSErrorItem.new(*response['args'])
end
|
#message ⇒ Object
47
48
49
|
# File 'lib/capybara/poltergeist/errors.rb', line 47
def message
"There was an error inside the PhantomJS portion of Poltergeist:\n\n#{javascript_error}"
end
|
#name ⇒ Object
39
40
41
|
# File 'lib/capybara/poltergeist/errors.rb', line 39
def name
response['name']
end
|