From: Raj pal Date: 2013-03-25T15:41:16+09:00 Subject: Re: question on watir hi Joel Pearson, 100.times { |t| puts ( Watir::Browser.attach( :index, t ) ).title rescue break } This code fails to execute because you haven't return the browser instance, But now I modified your code like given below 100.times do |t| $browser=Watir::Browser.attach( :index, t ) rescue break end This code works. Why your code is not working? did you meant to say include something with your code thereby it will work?Did I miss anything in your code? RAJ -- Posted via http://www.ruby-forum.com/.