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:
http://www.openqa.org/watir/watir_user_guide.html
Needs to be moved up into the previous section on input elements.\
FAQ: http://wiki.openqa.org/display/WTR/FAQ
in the section "Unable to locate object" error when clicking an image

-Charley

On 9/26/06, Luke <[EMAIL PROTECTED]> wrote:
> can you help, how can I access to such element?
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to