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



81
82
83
# File 'lib/capybara/poltergeist/errors.rb', line 81

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

#nameObject



77
78
79
# File 'lib/capybara/poltergeist/errors.rb', line 77

def name
  response['args'].first
end