Exception: Capybara::Poltergeist::DeadClient

Inherits:
Error
  • Object
show all
Defined in:
lib/capybara/poltergeist/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ DeadClient

Returns a new instance of DeadClient.



187
188
189
# File 'lib/capybara/poltergeist/errors.rb', line 187

def initialize(message)
  @message = message
end

Instance Method Details

#messageObject



191
192
193
# File 'lib/capybara/poltergeist/errors.rb', line 191

def message
  "PhantomJS client died while processing #{@message}"
end