On 7/13/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> With mine this is how you click an alert button:
>
> ie.dialog.button("OK").click

For clarification, this is how you click an alert button with SafariWatir:

browser.alert.click

It doesn't take a parameter since alert boxes only have one button.
There would be a separate method for confirm boxes:

browser.confirm("OK").click
browser.confirm("Cancel").click

Like Bret, I have no emotional attachment.  Just looking to fit in
with the rest of the API.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to