Exception: Capybara::Apparition::FrameNotFound

Inherits:
ClientError show all
Defined in:
lib/capybara/apparition/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::Apparition::ClientError

Instance Method Details

#messageObject



93
94
95
# File 'lib/capybara/apparition/errors.rb', line 93

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

#nameObject



89
90
91
# File 'lib/capybara/apparition/errors.rb', line 89

def name
  response['args'].first
end