[Wtr-general] FireWatir deserves its own project
Dave Hoover
dave.hoover at gmail.com
Thu Jul 13 16:30:34 EDT 2006
On 7/13/06, Bret Pettichord <bret at pettichord.com> 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.
More information about the Wtr-general
mailing list