code: @Override
    public void selectByValue(String value) {
      for (WebElement option : findOptionsByValue(value)) {
        setSelected(option, true);
        if (!isMultiple()) {
          return;
        }
      }
    }
docs: Select all options that have a value matching the argument. That is, when given "foo" this
  would select an option like:
  
  &lt;option value="foo"&gt;Bar&lt;/option&gt;
  
  @param value The value to match against
  @throws NoSuchElementException If no matching option elements are found