Hi,

 

I am calling code like the following and it is complaining that the element
does not have the method -

 

browser = Watir::IE.new

return browser.div(:id, "div_id").visible?

 

The error I get is -

 

undefined method for #(Watir::Div:0x602ad04) (NoMethodError)


As I understand it div inherits from element which has visible? Defined
there so I should be ok, any ideas on what I am doing wrong? I am able to
call other element methods in this manner ok (like exist? For example).

 

Thanks

 

Wadud



Capgemini is a trading name used by the Capgemini Group of
companies which includes Capgemini UK plc, a company registered in
England and Wales (number 943935) whose registered office is at No.
1 Forge End, Woking, Surrey, GU21 6DB
</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This 
message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it 
is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message in error, please notify the sender 
immediately and delete all copies of this message.</p><PRE>

--~--~---------~--~----~------------~-------~--~----~
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: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to