I'm guessing and not strong on Javascript, but might it be the lack of  
a semi-colon after 'return true'?

Best wishes,

Alex Collins

On 2 Jun 2009, at 17:03, aidy lewis 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
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to