Are they all divs?

On Apr 3, 12:18 pm, "Dennis I." <> 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
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to