| Class | Celerity::SelectList |
| In: |
lib/celerity/watir_compatibility.rb
lib/celerity/elements/select_list.rb |
| Parent: | Object |
| TAGS | = | [ Identifier.new('select') ] |
| DEFAULT_HOW | = | :name |
| selected_options | -> | getSelectedItems |
| options | -> | getAllContents |
| clear | -> | clearSelection |
| include? | -> | includes? |
Select the option(s) whose text or label matches the given string. If several options match the value given, all will be selected.
@param [String, Regexp] value A value. @raise [Celerity::Exception::NoValueFoundException] if the value does not exist. @return [String] The option selected. If multiple options match, returns the first match