That's probably what I would do as well. As a sidenote, if this is
happening on IE, that doesn't mean it will happen in FF. I just had a
popup in FF and (very surprisingly) it seemed the test was still
setting text_fields and clicking buttons in the browser while the
popup was sitting on top of
Thanks for the reply. At the end i have gave up this click_no_wait and
direct use the autoit = WIN32OLE.new('AutoItX3.Control') to send the
{enter} key for the js popup
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
It seems to me that you're using Watir-WebDriver where #click_no_wait
is indeed an undefined method. This method exists in plain Watir
though. I'm not sure of how to handle these cases in Watir-WebDriver
without using Threads. Hopefully there's some better solution in the
API :)
Jarmo Pertman