Bar` * * @param string $value The value to match against. * * @throws NoSuchElementException */ public function selectByValue($value); /** * Select all options that display text matching the argument. That is, when given "Bar" this would * select an option like: * * `` * * @param string $text The visible text to match against. * * @throws NoSuchElementException */ public function selectByVisibleText($text); /** * Select all options that display text partially matching the argument. That is, when given "Bar" this would * select an option like: * * `` * * @param string $text The visible text to match against. * * @throws NoSuchElementException */ public function selectByVisiblePartialText($text); /** * Deselect all options in multiple select tag. * * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectAll(); /** * Deselect the option at the given index. * * @param int $index The index of the option. (0-based) * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByIndex($index); /** * Deselect all options that have value attribute matching the argument. That is, when given "foo" this would * deselect an option like: * * `` * * @param string $value The value to match against. * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByValue($value); /** * Deselect all options that display text matching the argument. That is, when given "Bar" this would * deselect an option like: * * `` * * @param string $text The visible text to match against. * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByVisibleText($text); /** * Deselect all options that display text matching the argument. That is, when given "Bar" this would * deselect an option like: * * `` * * @param string $text The visible text to match against. * @throws UnsupportedOperationException If the SELECT does not support multiple selections */ public function deselectByVisiblePartialText($text); }