Hi

I wanted a generic way to retrieve text that is under a div, li, etc.
Basically, I don't want to have to explicitly say what kind of element
it is under.

I am trying to avoid:
- $browser.div(:class => objName, :index => count).text
- $browser.span(:class, objName).text
and similar calls...

I wanted to use element_by_xpath to retrieve the text.  However, in
IE, this causes a problem since element_by_xpath is returning a
WIN32OLE object instead of an Element object.  (WTR-343)

Is there an easy way around this?

Thanks
--~--~---------~--~----~------------~-------~--~----~
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