Well, you could do
ie.images( :src, /add/ )[x].click
where x is the number you want.... 1, 2, 3 ( one-based index )
j.
On 11/8/05, Torres, Ben (HQP) <[EMAIL PROTECTED]> wrote:
The web page I am testing has images that have the same src. I can
click the first one by doing ie.image (:src, /add/).click. Is there any
way I can click the next /add/ button? I was hoping the get the index
number of the first image and just do a +1 to get to the next button.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
--
"http://ruby-lang.org -- do you ruby?"
Jeff Wood
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
