[Wtr-general] contains_text not giving match when the requested tags are in frames instead of main html body

Dave Hoover dave.hoover at gmail.com
Sat Aug 19 12:01:49 EDT 2006


On 8/19/06, Manish Sapariya <manishs at gs-lab.com> wrote:
> ie.contains_text("admin") returns me nil.
>
> Does watir support contains_text within frame as well?

Yes, but you need to specify the frame like this...
  ie.frame(:name, "foo").contains_text("bar")



More information about the Wtr-general mailing list