Joel Pearson wrote in post #1083550:
> browser or driver is the most common variable name for a webdriver
> session. Since you didn't provide examples of your code I used the
> default notation.

so suppose :

br=Watir::Browser.new :ie
br.goto(url)
br.close
#here the popup comes
br.windows.each {|w| w.close rescue nil}

-------
here br is not an array, and its also closed, the problem is the next 
popup, which has no know handle.

Am I write using br here?

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