From: Joel Pearson Date: 2012-12-07T23:30:36+09:00 Subject: Re: Browser close/open issue watir-webdriver using IE. Prog Rammer wrote in post #1088166: > Joel Pearson wrote in post #1088068: >> Have you looked at this thread? We might have covered whatever is >> causing this issue for you in here: >> http://www.ruby-forum.com/topic/4407617 > > How to rescue that error? > I am not able to catch it either by > rescue => e > or > rescue Exception=>e "rescue Exception" will rescue anything. More likely you're trying to rescue this within the wrong block of code. It's extremely bad practice to rescue Exception, although I assume you're just using that to make a point rather than as a matter of course in your code. -- Posted via http://www.ruby-forum.com/.