Joel Pearson wrote in post #1083434:
> you want
>
> begin
> browser.goto(site_url)
> rescue Timeout::Error
> #do something
> end

I did it like:
> begin
> browser.goto(site_url)
> rescue Timeout::Error=>e
> #do something
> end
but its not catching exception and giving the error what I mentioned.

What kind of error is :

C:/Ruby187/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill': execution expired

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