Sha256: 7ddd8906d3a04a0e974285b7089ed9c4d723c99bde088d4f6f9e83a0b9a0348b

Contents?: true

Size: 404 Bytes

Versions: 9

Compression:

Stored size: 404 Bytes

Contents

##
# Raised when an an element was not found on the Page

class Mechanize::ElementNotFoundError < Mechanize::Error

  attr_reader :source
  attr_reader :element
  attr_reader :conditions

  def initialize source, element, conditions
    @source     = source
    @element    = element 
    @conditions = conditions

    super "Element #{element} with conditions #{conditions} was not found"
  end
  
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mechanize-2.7.7 lib/mechanize/element_not_found_error.rb
husc-0.2.1 vendor/bundle/gems/mechanize-2.7.6/lib/mechanize/element_not_found_error.rb
husc-0.2.0 vendor/bundle/gems/mechanize-2.7.6/lib/mechanize/element_not_found_error.rb
husc-0.1.1 vendor/bundle/gems/mechanize-2.7.6/lib/mechanize/element_not_found_error.rb
husc-0.1.0 vendor/bundle/gems/mechanize-2.7.6/lib/mechanize/element_not_found_error.rb
mechanize-2.7.6 lib/mechanize/element_not_found_error.rb
mechanize-2.7.5 lib/mechanize/element_not_found_error.rb
mechanize-2.7.4 lib/mechanize/element_not_found_error.rb
mechanize-2.7.3 lib/mechanize/element_not_found_error.rb