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

Manish Sapariya manishs at gs-lab.com
Sat Aug 19 05:37:37 EDT 2006


Hi I have following HTML in one of my frames on my html page.

---------
<div id="menurightmenu">
   <div align=CENTER>Account name: <strong>admin</strong> |&nbsp;<a 
href="/analyst/ReLogout.do" target="_parent">Logout</a></div>
</div>
----------

ie.contains_text("admin") returns me nil.

Does watir support contains_text within frame as well?

Thanks,
Manish



More information about the Wtr-general mailing list