You still need to determine what the popup actually is, JS or HTML.
Do you get an Exception? An unhandled Exception would cause the program 
to terminate.

-- 
Posted via http://www.ruby-forum.com/.