sikander wrote: > > assert($ie.contains_text(/Search/).exists?) > Dave's advice is correct. My suggestion is to avoid using contain_text entirely. I find that it leads to confusion and intend to deprecate it. assert($ie.text =~ /Search/) or assert($ie.text.match /Search/) Bret