While trying to run a testcase i keep getting an error -
This is the script -
require 'watir'
Watir::Browser.default = 'ie'
brow = Watir::Browser.new()

tried with both firefox and ie and i get the same error
watir-common-1.6.0/lib/watir/browser.rb:20:in `klass': (eval):1:in
`klass': uninitialized constant Watir::IE (NameError)
watir-common-1.6.0/lib/watir/browser.rb:20:in `klass': (eval):1:in
`klass': uninitialized constant FireWatir::Firefox (NameError)

Made changes to browser.rb, added this at the beginning of the file to
make it work-
require 'watir/options'
require 'watir/ie'
require 'firewatir'

You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to