Short answer -- it's a button and has other attributes that
you need
to use, name, src, id... something:
<input type="image" name="clickme"
src="clickme.gif">
$ie.button(:name, 'clickme').click
or
$ie.button(:src, /clickme/).click
It's in the FAQ and the user guide both slightly indirectly,
User Guide in the Forms section:
htt
p://www.openqa.org/watir/watir_user_guide.html
Needs to be moved up into the previous section on input
elements.
FAQ: http://wiki.op
enqa.org/display/WTR/FAQ
in the section "Unable to locate object" error
when clicking an image
-Charley
On 9/26/06, Luke <luccasz gmail.com> wrote:
> can you help, how can I access to such element?
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general rubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
>
>
_______________________________________________
Wtr-general mailing list
Wtr-general rubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
|