[Wtr-general] Cannot click on HTML button

Željko Filipin zeljko.filipin at gmail.com
Fri Dec 29 06:47:02 EST 2006


1) This will work.

ie.button(:alt, "Go").click
ie.button(:value, "Go").click

Watir works as expected, you told him to click a button with name Go, but
your button does not have name atribute.

2) Quote from Bret Pettichord from this list:

"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."
-- 
Zeljko Filipin
zeljkofilipin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061229/d5f5a238/attachment.html 


More information about the Wtr-general mailing list