Exception: Capybara::Poltergeist::FrameNotFound

Inherits:
ClientError show all
Defined in:
lib/capybara/poltergeist/errors.rb

Instance Attribute Summary

Attributes inherited from ClientError

#response

Instance Method Summary collapse

Methods inherited from ClientError

#initialize

Constructor Details

This class inherits a constructor from Capybara::Poltergeist::ClientError

Instance Method Details

#messageObject


62
63
64
# File 'lib/capybara/poltergeist/errors.rb', line 62

def message
  "The frame '#{name}' was not found."
end

#nameObject


58
59
60
# File 'lib/capybara/poltergeist/errors.rb', line 58

def name
  response['args'].first
end