: index=> 0 is not the last item.
----- Original Message ---- From: Alexandre <neonoe123...@gmail.com> To: WATIR <watir-general@googlegroups.com> Sent: Friday, August 14, 2009 5:40:55 AM Subject: [wtr-general] :index => 0 with firewatir Hello, using firewatir, ff.link(:text => "foo",:index => 2).click works fine but I would like to click on the last link found on the page. Then ff.link(:text => "foo",:index => 0).click should work. But firewatir can not find this element. Do you have another solution ? Thank you. -- Alexandre Delanoƫ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---