At 08:45 AM 9/2/2005, Boyt, Darrel wrote:
My thinking about frames doesn't seem to be in line with Watir's
implementation. My thinking is that a frameset is basically a container
of frames that are separate web pages and that the methods I can access
with "ie" I should be able to access with "ie.frame(:index, 1)". I'm
looking for things that tell me about the page like .url, .html, and the
"show" methods (.show_divs, .show_forms, .show_frames, .show_images,
.show_labels, .show_links, .show_spans, .show_tables).
Am I way off in left field on this???
No. I basically agree. We just haven't gotten there yet.
For now, try these:
ie.frame(...).divs.show
ie.frame(...).forms.show
ie.frame(...).frames.show
ie.frame(...).images.show
ie.frame(...).labels.show
ie.frame(...).links.show
ie.frame(...).spans.show
...
These should work in 1.4.x and earlier, too.
I plan to fill out this list with ie.frame(...).elements.show, which will
work like *.show_all_objects.
(In HEAD, these commands will work with any object. In 1.4.x, they only
work with frames and forms and cells and ie and divs and spans and paragraphs.)
Bret
_____________________
Bret Pettichord
www.pettichord.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general