On Thu, Sep 20, 2012 at 3:55 PM, Derek Romeyn wrote:
>
This should work:
browser.button(:value => "OK").click
If the button is in the frame then something like this:
browser.frame(:id => "frame_id").button(:value => "OK").click
Željko
--
filipin.eu
--
Before posting, please read http://wat
I've been struggling with this today. Some watir/ruby scripting still
trips me up.How would I locate and click on this OK button?
I've tried using value of OK and I tried finding it using xpath but both
just return unable to locate element. Any guidance here would be
appreciated.
I'm just getting into Watir and finding I can do all sorts of great
things with it. However, I can't seem to get it to find a button
within an iframe. I can find radio buttons in iframes, but not
regular buttons.
This happens even on the "official" examples - for instance the
"Automating Gmail