Exception: Capybara::Poltergeist::BrowserError
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#message ⇒ Object
23
24
25
|
# File 'lib/capybara/poltergeist/errors.rb', line 23
def message
"Received error from PhantomJS client: #{text}"
end
|
#name ⇒ Object
15
16
17
|
# File 'lib/capybara/poltergeist/errors.rb', line 15
def name
response['name']
end
|
#text ⇒ Object
19
20
21
|
# File 'lib/capybara/poltergeist/errors.rb', line 19
def text
response['args'].first
end
|