You are referencing a buggy version of our documentation. Please see http://wtr.rubyforge.org/watir_user_guide.html

contains_text is in our API documentation. http://wtr.rubyforge.org/rdoc/classes/Watir/IE.html

Bret

On 6/12/06, Adrian Rutter <[EMAIL PROTECTED]> wrote:
I have a problem with assertions.

    ie = Watir::IE.new
    ie.goto('http://wtr.rubyforge.org/')
    if assert(ie.contains_text("Watir"))
      p 'pass'
    else
      p 'fail'
    end
    rescue => e
      puts(e.message + "\n" + e.backtrace.join("\n"))
    ensure
    ie.close
  end

end
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to