I noticed that sometimes watir searches within its nested containers for items, and sometimes it does not. I would like to know the rules by which it decides to do so or not.
For example, I noticed that in an Amazon.com page 'ie.link(:text, "Advanced Search")' returned the same link as 'ie.table.link(:text, "Advanced Search")' (here, table is a table element), which lead me to believe that watir will search sub-containers for the item requested. But when I was in the gmail web page, "ie.text_fields" returned a different set of items than "ie.canvas_frame.text_fields" (here, canvas_frame is a frame element), which puzzled me given my experience above. Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---