Class: Watir::TextFieldLocator

Inherits:
ElementLocator show all
Defined in:
lib/watir-webdriver/locators/text_field_locator.rb

Constant Summary

NON_TEXT_TYPES =
%w[file radio checkbox submit reset image button hidden datetime date month week time datetime-local range color]
NEGATIVE_TYPE_EXPR =

TODO: better way of finding input text fields?

NON_TEXT_TYPES.map { |t| "@type!=#{t.inspect}" }.join(" and ")

Constants inherited from ElementLocator

ElementLocator::WD_FINDERS

Instance Method Summary (collapse)

Methods inherited from ElementLocator

#initialize, #locate

Constructor Details

This class inherits a constructor from Watir::ElementLocator

Instance Method Details

- (Object) locate_all



8
9
10
# File 'lib/watir-webdriver/locators/text_field_locator.rb', line 8

def locate_all
  find_all_by_multiple
end