True. In fact I believe watir even has unit tests to make sure it works with multiple identical IDs despite that being quite invalid html.
On Thu, Aug 26, 2010 at 04:50, Željko Filipin <[email protected] > wrote: > On Wed, Aug 25, 2010 at 7:10 PM, Chuck van der Linden <[email protected]> > wrote: > > Watir presumes valid html > > I think this is not true. Watir does not care if HTML is valid or not. It > will just pick the first element that has the attribute you have provided. > > Željko > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: [email protected] > To unsubscribe: > [email protected]<watir-general%[email protected]> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
