Or you can use something along the lines of:
ie.frame(:index, 1).show_frames
This will show all frames within the top level frame with
index 1.
The frame name could obviously be used instead of frame
index.
Cheers,
Daniel.
On 19/06/06, Chris McMahon <christopher.mcmahon gmail.com> wrote:
> ie.frame(:name,"foo").show_all_objects
>
> frames show up as type "HTML". Then if you
have a frame called "bar" you can do
>
>
ie.frame(:name,"foo").frame(:name,"bar&qu
ot;).show_all_objects
>
>
> On 6/19/06, Beth Ferguson <beth squalor.com> wrote:
> > How can i discover the names of nested frames with
Watir?
> >
> > Thanks-
> >
> > Beth
> >
> > _______________________________________________
> > Wtr-general mailing list
> > Wtr-general rubyforge.org
> > htt
p://rubyforge.org/mailman/listinfo/wtr-general
> >
> _______________________________________________
> Wtr-general mailing list
> Wtr-general rubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
Wtr-general rubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
|