Are they all divs?

On Apr 3, 12:18 pm, "Dennis I." <ideler.den...@gmail.com> wrote:
> Watir returns the first element found when there are multiple elements
> with the same name. I'd like for it to return all the elements instead
> of just the first one found.
>
> I know I can do this by using xpath plus an iterator, but is there any
> other quicker way?
>
> e.g.)  ie.div(:class, "something")
>
> would return the first element with the "something" class attribute.
>
> I'd like for it to return ALL "something" classes in that division.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to