On 4/9/07, san <[EMAIL PROTECTED]> wrote:

As I Can See Just 2 Of Them In HTML Code, But In Firefox I Can See At
Least 6 Or 7 Of Them


This is because some frames contain another frames.

First, you find root frames.

irb(main):007:0> ie.show_frames
there are 2 frames
frame  index: 1 name: TR_MAINFRAME
frame  index: 2 name: TR_BLANK
=> 0..1

Then you find nested frames.

irb(main):009:0> ie.frame(:name, "TR_MAINFRAME").show_frames
there are 3 frames
frame  index: 1 name: TOP_TOOLBAR
frame  index: 2 name: leftFrame
frame  index: 3 name: GA_DISPLAY

Zeljko
--
ZeljkoFilipin.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to