Watir popup examples not working (and a solution, finally)
I’ve been finding popups in Watir a pain of late, with most of the solutions on watir.com not working for me. Finally today, I found something that worked. Steve Swanson’s solution did the trick.
However, before it could work, I had to figure out that the AutoIT dll wasn’t correctly registered. If you try the solution above and find it to be behaving mysteriously, then try the steps on Watir.com’s FAQ page.