Joel Pearson wrote in post #1086687:
> Joel Pearson wrote in post #1086486:
>> Try this:
>>
>> require 'watir-webdriver'
>> b = Watir::Browser.start 'bit.ly/watir-webdriver-demo'
>> l = b.link :text => 'Google Docs'
>> b.goto l.href
>
> Did you give this a go?

I wasn't doing that because I have to deal with submit buttons also, so 
as href property is not there in case of submit button, I am not using 
it.

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