At present in my Web Page I can See a lot of divs and i access them
using indexes using this code

ie.div(:text => 'div',:index =>1).click
ie.div(:text => 'div',:index =>2).click
ie.div(:text => 'div',:index =>3).click
ie.div(:text => 'div',:index =>4).click

Is there any way I can click on the last Index directly like
ie.div(:text => 'div',:index =>Last).click



-- 
Thanks and Regards
Ajitesh Srinetra

-- 
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]

Reply via email to