开发者

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

开发者 https://www.devze.com 2023-01-01 12:57 出处:网络
We are having a problem with our selenium tests which run in IE on a virtual machine. Whenever there is a 开发者_如何学Gojavascript error, a popup shows up and puts our system into a \'stuck\' state -

We are having a problem with our selenium tests which run in IE on a virtual machine. Whenever there is a 开发者_如何学Gojavascript 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?


Uncheck 'Display a notification about every script error' ?

0

精彩评论

暂无评论...
验证码 换一张
取 消