Hi,
It is known to all that 'enabled' is work very well in Windows.
Such as, @browser.button(:value,"Save").enabled?
When use this in SafariWatir,I get the following:
irb(main):008:0> sf.button(:value,"Save").enabled?
NoMethodError: undefined method `enabled?' for
#<Watir::Container::Button:0x1309bd8>
from (irb):8
from :0
Any idea about this?
BTW,I try to define 'enabled' as in Windows. But it doesn't work
either.
Any help will be very appreciated.
-Zhong
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---