[Wtr-general] same name of elements
Bret Pettichord
bret at pettichord.com
Mon Nov 6 12:42:09 EST 2006
Luke wrote:
> I have a few elements with the same name on the web, I can't catch
> them just by index, is it possible to catch them somehow?
> like element.(:name, ....). and then the index somehow?
In 1.5, this syntax works:
ie.div(:name => 'foo', :index => 2).click
This will find the second div with the name 'foo'.
Not all elements yet have multiple attribute support. What are you
looking for?
Bret
More information about the Wtr-general
mailing list