Method: Watir::Select#select_value
- Defined in:
- lib/watir-webdriver/elements/select.rb
#select_value(str_or_rx) ⇒ String
Selects the option(s) whose value attribute matches the given string.
70 71 72 |
# File 'lib/watir-webdriver/elements/select.rb', line 70 def select_value(str_or_rx) select_by :value, str_or_rx end |