win32 and javascript alerts

Bryan L. Fordham bfordham at
Thu Oct 17 19:53:26 CEST 2002

I'm using those nifty win32com extensions to do some unit testing. 
I'm able to control IE with no problems, fill out forms and push the
pretty buttons to make things go.

The one issue I've run into is this:  Say there's an input box called
Spam, that requires a value.  If you click the Go button and Spam is
empty, a little javascript alert box pops up and says "Hey, fill in

well, if I load the page using python and click the Go button with
Spam empty, the javascript alert pops up... and I don't know how to
get rid of it.  Python hangs until I manually clear the alert.

Any ways around this?


More information about the Python-list mailing list