Den 13. aug. 2011 kl. 11:42 skrev Jeff Nyman <jeffny...@gmail.com>:

browser.text.should include("my text")


  browser.text.should match(/my text/)

or

  browser.text.should =~ /my text/

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to