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



68
69
70
# File 'lib/capybara/poltergeist/errors.rb', line 68

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

#nameObject



64
65
66
# File 'lib/capybara/poltergeist/errors.rb', line 64

def name
  response['args'].first
end