Because Frame is not a subclass of Element. I am curious as to why you find this information helpful. If you want to know the class of an element, you can always do
> browser.text_field(:id, 'foo').class Bret On Sep 30, 7:06 am, Željko Filipin <[email protected]> wrote: > Frame is missing from this list. I guess it makes sense, but it is still > missing. > > Željko > > On Mon, Sep 28, 2009 at 6:08 PM, Bret Pettichord <[email protected]> > wrote: > > > >> ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} > > Watir::HTMLElement > > Watir::Link > > Watir::Image > > Watir::TableCell > > Watir::TableRow > > Watir::TableBody > > Watir::TableBodies > > Watir::Table > > Watir::CheckBox > > Watir::Radio > > Watir::RadioCheckCommon > > Watir::FileField > > Watir::Hidden > > Watir::TextField > > Watir::Button > > Watir::SelectList > > Watir::InputElement > > Watir::Em > > Watir::Strong > > Watir::Dd > > Watir::Dt > > Watir::Dl > > Watir::H6 > > Watir::H5 > > Watir::H4 > > Watir::H3 > > Watir::H2 > > Watir::H1 > > Watir::Ul > > Watir::Li > > Watir::Label > > Watir::Area > > Watir::Map > > Watir::Span > > Watir::Div > > Watir::P > > Watir::Pre > > Watir::NonControlElement > > Watir::Form --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
