when you say 'without success" what does that mean?  what happens? do
you get an error?   more detailed info on what happens will help
others with troubleshooting this.

Have you reviewed the general info on the types of popups and how to
handle them?  http://wiki.openqa.org/display/WTR/Pop+Ups

Different kinds of popups require different techiques to address them,
so if the technique you are using is implemened correctly, but not the
right one for your popup, well that would explain why you are 'without
success'  ;-)

On Jun 2, 9:03 am, aidy lewis <[email protected]> wrote:
> Hi,
>
> I am trying to override a js confirm in FireWatir:
>
> $jssh_socket.send("window.confirm=function(){return true};\n", 0)
> read_socket
>
> Without success, has anyone managed to do this?
>
> 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