That might be a recent change then.. it used to be that if you selected by ID, you got the first thing (maybe even not same element type) that matched the ID..)
For a lot of other things, when there's more than one possible choice, don't we get a different error? On Aug 26, 7:58 am, Ethan <[email protected]> wrote: > 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 readhttp://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%2bunsubscr...@goog > > legroups.com> -- 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]
