On Nov 26, 1:00 am, Jarod Zhu <[EMAIL PROTECTED]> wrote:
> I am using firewatir-1.6.2 to make a web automation tool in my
> project.
> I come to the problem that I can't click the javascript popup "OK"
> button successfully.
>
> I use the code like this:
> ***************************************************************************
> ***********
> browser.startClicker('ok', 20)
> browser.button(:id, 'confirm').click # pop the javascript window
> ***************************************************************************
> ***********
> Actually, the code above make the javascript popup nerver appear, but
> the popup "OK" button is not clicked. So it just make the the
> javascript popup disabled.
>
> Anyone here know how to handle javascript popups with
The general answer is don't use the javascript popups.
I'd like to hear Paul Rodgers discuss alternatives to them in the
podcast on Friday.
Thanks in advance
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---