Hi Bret,

On 19/12/2008, Bret Pettichord <[email protected]> wrote:
>
>  This approach would work. It's what Selenium does.
>
>  Bret
>
>  aidy lewis wrote:
>  > Hi,
>  >
>  > Why isn't Watir using Javascript to deal with confirm or alert boxes?
>  >
>  > Would it not be easier to pass something like this to the address bar:
>  >
>  > javascript:void(window.confirm=function(){return true;}); ?
>  >
>  > Aidy
>  >

I think this may be a more efficient way to deal with JS pop-ups the
using autoit.

Aidy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to