Hi Wesley, It is not searching the full text. It returns true if the page has "My" or "Engineering".
I want to search the exact match "My Engineering Services". Thanks, Soori On Mar 7, 12:28 pm, Wesley Chen <[email protected]> wrote: > You may try: ie.text.include?(***) > > Wesley. > For life, the easier, the better. > > > > > > > > On Mon, Mar 7, 2011 at 1:18 PM, Soori <[email protected]> wrote: > > All, > > > I would like to search for a text "My Engineering Services" on a > > webpage. This can be a link too. > > > Should I use contains_text method or text_include method? > > > Please advice. > > > /soori > > > -- > > Before posting, please readhttp://watir.com/support. In short: search > > before you ask, be nice. > > > [email protected] > >http://groups.google.com/group/watir-general > > [email protected] -- 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]
