Class: Watir::FrameCollection
- Inherits:
-
ElementCollection
- Object
- ElementCollection
- Watir::FrameCollection
- Defined in:
- lib/watir-webdriver/elements/frame.rb,
lib/watir-webdriver/elements/generated.rb
Instance Method Summary (collapse)
Methods inherited from ElementCollection
#[], #each, #first, #initialize, #last, #length
Constructor Details
This class inherits a constructor from Watir::ElementCollection
Instance Method Details
- (Object) element_class
106 107 108 |
# File 'lib/watir-webdriver/elements/generated.rb', line 106 def element_class Frame end |
- (Object) to_a
83 84 85 |
# File 'lib/watir-webdriver/elements/frame.rb', line 83 def to_a (0...elements.size).map { |idx| element_class.new @parent, :index => idx } end |