From: Mike Nelson Date: 2006-08-24T23:03:49+09:00 Subject: Re: "Do you want to close this Window?" Popup woes... David Nightingale wrote: > How in the heck to I go about closing this window with the script. Here > is what I have, though keep i mind I have ommitted the account > information. This is a security thing in JavaScript. JavaScript is not allowed to close a window unless JavaScript was the one that opened the window in the first place (via something like, "javascript: top.window.open('mypopup.html');". You wouldn't want JS to be able to indiscriminately close your browser on you. It seems sensible that you'd be able to close IE via watir (not using JavaScript), since that's how you opened it in the first place. But I don't know anything about watir. -- Posted via http://www.ruby-forum.com/.