From: Darin Duphorn Date: 2008-02-11T23:16:37+09:00 Subject: Re: Watir Javascript popup handler: works with popups from links Jeff, I can get it to not hang, by changing .click to .click_no_wait and adding the @ie.waitForIE. The only problem is I still cannot get the text. puts "Working with popup from links:" jsh = JavascriptPopupHandler.new(@ie, 'OK') jsh.pauseDuration = 0.1 jsh.handle {@ie.button(:type, "submit").click_no_wait} puts "Here's the text that was showing in the popup: #{jsh.text}" @ie.waitForIE Darin -- Posted via http://www.ruby-forum.com/.