It worked for me - I tried it with the exact text and I tried it with the 
second G missing from engineering. I also tried it like this (I jammed the 
whole IF clause into ternary statement):
puts "#{browser.title.to_s}, #{browser.contains_text('My Engineering 
Services')? 'Text Available': 'Text Not Available'}"

Good Luck,

Dave

-- 
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