From: Arup Rakshit Date: 2013-01-24T22:53:04+09:00 Subject: Re: Save a file by clicking on a link > @driver.windows.last.use do > @driver.window.close > end With your above code,if three pop-up windows generated for any actions from the main window. Then how many will be closed by the above loop? Again you are really awesome! Really appreciated,lot's to learn from you. Thanks -- Posted via http://www.ruby-forum.com/.