Class: Watir::FormLocator
- Inherits:
-
TaggedElementLocator
- Object
- Locator
- TaggedElementLocator
- Watir::FormLocator
- Defined in:
- lib/watir-classic/locator.rb
Constant Summary
Constants included from Watir
Instance Method Summary collapse
Methods inherited from TaggedElementLocator
Methods inherited from Locator
#create_element, #document, #each, #has_excluding_specifiers?, #initialize, #locate_by_id, #locate_elements_by_xpath_css_ole, #match?, #match_class?, #match_with_specifiers?, #normalize_specifiers, #type_matches?
Methods included from XpathLocator
#direct_children, #element_by_css, #element_by_xpath, #elements_by_css, #elements_by_xpath, #xmlparser_document_object
Methods included from Exception
Methods included from Watir
options, options=, options_file, options_file=
Constructor Details
This class inherits a constructor from Watir::Locator
Instance Method Details
#each_element(tag) ⇒ Object
190 191 192 193 194 |
# File 'lib/watir-classic/locator.rb', line 190 def each_element(tag) document.forms.each do |form| yield create_element form end end |