Or
browser.element(how, what).text.include?("expected text")
http://www.ruby-doc.org/core-1.9.3/String.html
On Tuesday, July 31, 2012 4:40:38 AM UTC-4, Željko Filipin wrote:
>
> On Tue, Jul 31, 2012 at 7:51 AM, Sohail Mirza <[email protected]> wrote:
> > Then which method is now being used to validate particular text string /
> message on browser screen???
>
> browser.element(how, what).text == "some text"
>
> or
>
> browser.element(how, what).text.match /regexp/
>
> > Where i can find information about all deprecated methods?
>
> https://github.com/watir/watir-classic/blob/master/CHANGES
>
> Željko
> --
> filipin.eu
>
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]