Hi, If the button has text you can use that instead.
Joe On Oct 11, 2012 4:48 AM, "Adrian Killens" <[email protected]> wrote: > Is it possible to use both and index and an id to get button? > > e.g. if I had a 10 buttons all with the id "AddToBasket" could I use the > id and the index to just click the first of the 10? > > Cheers > Aidy > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
