class Mechanize::ElementNotFoundError

Raised when an an element was not found on the Page

Attributes

conditions[R]
element[R]
source[R]

Public Class Methods

new(source, element, conditions) click to toggle source
Calls superclass method
# File lib/mechanize/element_not_found_error.rb, line 10
def initialize source, element, conditions
  @source     = source
  @element    = element 
  @conditions = conditions

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