Try this

browser = Watir::Firefox.new

Bret

On 3/28/06, Rodrigo Julian Martin <[EMAIL PROTECTED] > wrote:

Hi Angrez, thanks for the quick reply!

 

I've tried the code:

 

require 'watir'

browser = Firefox.new     #You need to create new Firefox instance. Rest will remain same.

browser.goto(" http://google.com")

 

and when I run it, this was the output:

 

Untitled.rb:2: uninitialized constant Firefox (NameError)

Execution completed with exit code 1.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to