From: Joel Pearson Date: 2013-03-25T20:12:24+09:00 Subject: Re: question on watir Works for me: irb(main):001:0> require 'watir' => true irb(main):002:0> 100.times { |t| } Google Gmail: Email from Google => nil irb(main):005:0> All you're doing with your code there is constantly reassigning the variable $browser but not doing anything with it. The code you posted doesn't "work" in the same sense as the example I gave. The reason that I don't use assignation is because I'm only doing 1 thing inside the loop, I don't need to use a variable for that. If you're experiencing issues then could be down to Ruby or Watir versions, IE add-ons, typos in the code, or all sorts of different possibilities. -- Posted via http://www.ruby-forum.com/.