Class: WatirNokogiri::TextFieldLocator

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

Constant Summary collapse

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 { |type| "%s!=%s" % [XpathSupport.downcase('@type'), type.inspect] }.join(' and ')

Constants inherited from ElementLocator

ElementLocator::VALID_WHATS

Method Summary

Methods inherited from ElementLocator

#assert_valid_as_attribute, #attribute_expression, #build_xpath, #can_be_combined_with_css?, #can_be_combined_with_xpath?, #check_type, #delete_regexps_from, #equal_pair, #fetch_value, #find_by_regexp_selector, #given_css, #given_xpath, #initialize, #label_from_text, #locate, #locate_all, #normalize_selector, #normalized_selector, #should_use_label_element?, #valid_attribute?

Constructor Details

This class inherits a constructor from WatirNokogiri::ElementLocator