K
To: Watir General
Sent: Thursday, May 17, 2012 2:24 PM
Subject: [wtr-general] verify text using OR statement
Hi all,
In watir-webdriver, is it possible to do something like:
browser.text.should == 'foo' or 'bar'
and should fail if its anything other than 'foo'
Hi all,
In watir-webdriver, is it possible to do something like:
browser.text.should == 'foo' or 'bar'
and should fail if its anything other than 'foo' 'bar'
Any thoughts please?
Thanks,
Jay
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.