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
