How can I prevent javascript errors in my selenium tests from hanging my build system?

Posted by lowellk on Stack Overflow See other posts from Stack Overflow or by lowellk
Published on 2010-05-27T22:38:39Z Indexed on 2010/05/27 22:41 UTC
Read the original article Hit count: 177

Filed under:
|

We are having a problem with our selenium tests which run in IE on a virtual machine. Whenever there is a javascript error, a popup shows up and puts our system into a 'stuck' state - a user has to go clear that and restart the selenium test run. Is there a way to prevent the javascript error popup from putting the system into its stuck state? Would setting window.error be of any help here?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about selenium