class Capybara::Poltergeist::BrowserError

Public Instance Methods

error_parameters() click to toggle source
# File lib/capybara/poltergeist/errors.rb, line 32
def error_parameters
  response['args'].join("\n")
end
message() click to toggle source
# File lib/capybara/poltergeist/errors.rb, line 36
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() click to toggle source
# File lib/capybara/poltergeist/errors.rb, line 28
def name
  response['name']
end