From: "Kevin D." Date: 2010-10-15T05:15:41+09:00 Subject: Re: handling java script popups(onclick) The best thing I have found is to start a popup handler script in a sub process. popupHandler = Kernel.open("|\"#{RbConfig::CONFIG["bindir"]}/#{RbConfig::CONFIG["ruby_install_name"]}.exe\" \"PopupHandler.rb\" #{$$} \"#{@@browserType}\" \"#{@@baseUrlAddress}\" \"#{@@ieVersion}\" \"#{@@ffVersion}\"", "wb") the file attached is the popup handler script. I Use this with watir/firewatir -- Posted via http://www.ruby-forum.com/.