require 'rubygems';
require 'watir';
...
Watir::Browser.default = 'safari';
@browser = Watir::Browser.new();
The new() call now gets me:
/Library/Ruby/Gems/1.8/gems/commonwatir-1.6.2/lib/watir/browser.rb:
75:in `klass': (eval):1:in `klass': uninitialized constant
Watir::Safari (NameError)
from /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.2/lib/watir/
browser.rb:65:in `eval'
from /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.2/lib/watir/
browser.rb:75:in `klass'
from /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.2/lib/watir/
browser.rb:65:in `new'
They works wonderfully until I upgraded! Heard of this from anyone
else or know how to get around this?
Thank you so much in advance!
-Annie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---