Hello all,
I'm fairly new to Watir, I'm trying to click on a certain image button
with no success.
My code looks like this:
require watir
ie = Watir::new
ie.goto(host)
ie.image(:id, 'btnLogin_imgButton').fire_event(OnMouseDown)
ie.image(:id, 'btnLogin_imgButton').fire_event(OnMouseUp)
I am having problems clicking a javascript button. Below is the code
used for the button:
a href=Javascript:doPost(document.pageForm, 'Update.m');
title=View Hotelsimg src=images/Arizona/button_viewhotels.gif
width=190 height=83 alt=View Hotels class=arrow //a
If I attempt to click the button