Joel Pearson wrote in post #1086482:
> Try closing with this instead of checking for nil first, it seems more
> reliable:
>
> br.close rescue nil
What is the diffrence?
> I'd also add that line before "br=Watir::Browser.new :ie", just in case
> there's something there.
even if something is there.. it will get overwritten..right?
> Are these popup windows remaining? I think I covered closing popups in a
> previous thread.
no-not pop-ups.
> When all else fails, there's always this option:
>
> require 'sys/proctable'
> Sys::ProcTable.ps.each { |ps|
> Process.kill('KILL', ps.pid) if ps.name.downcase == "iexplore.exe"
> }

How to do this for ff and chrome? I mean the equivalent code for ff and 
chrome?

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