Try this:

require 'watir-webdriver'
b = Watir::Browser.start 'bit.ly/watir-webdriver-demo'
l = b.link :text => 'Google Docs'
b.goto l.href

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