Watir has the .attach method.
How do I attach to an existing browser window using watir-webdriver?
I need this because, for example, I have scripts that delete the browser
cookies file and if they can't do this they look to see if there are open
browser windows, close them, then try to delete
Found something that will hopefully be helpful...
http://www.natontesting.com/2009/09/21/kill-process-by-name-using-ruby-on-windows/
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com