Sha256: d17f14dccb0726f1bbb30a19a1a17c9ca07b5f403a8935c72012d5570781c9ae
Contents?: true
Size: 839 Bytes
Versions: 5
Compression:
Stored size: 839 Bytes
Contents
# TODO: support radiogroup # TODO: migrate this code into Watir def Watir.add_display_value_methods_to mod mod.module_eval <<-CLASS_END class TextField # includes Hidden def display_value value end end class FileField def display_value value end end class CheckBox # returns a boolean def display_value checked? end end class SelectList # Note: currently works for single-select only def display_value getSelectedItems[0] end end class Button def display_value value end end class Element def display_value text end end class NonControlElement def display_value text end end class B < NonControlElement TAG = 'B' end CLASS_END end
Version data entries
5 entries across 5 versions & 1 rubygems