Class: Watir::Forms
- Inherits:
-
ElementCollections
- Object
- ElementCollections
- Watir::Forms
- Defined in:
- lib/watir/form.rb
Instance Method Summary collapse
Methods inherited from ElementCollections
#[], #each, #first, #get_length_of_input_objects, #initialize, #inspect, #last, #show, #to_s
Constructor Details
This class inherits a constructor from Watir::ElementCollections
Instance Method Details
#element_class ⇒ Object
159 |
# File 'lib/watir/form.rb', line 159 def element_class; Form; end |
#element_tag ⇒ Object
160 |
# File 'lib/watir/form.rb', line 160 def element_tag; 'FORM'; end |
#length ⇒ Object
161 162 163 |
# File 'lib/watir/form.rb', line 161 def length @container.document.getElementsByTagName("FORM").length end |