code: @SuppressWarnings("unchecked")
      @Override
      public void setValue(Object value) throws WidgetException {
          try {
              if (value instanceof String) {
                  selectSingle((String) value);
              } else if (value instanceof List<?>) {
                  selectMultiple((List<String>) value);
              } else {
                  throw new WidgetRuntimeException(
                          "Invalid type. 'value' must be either 'String' type of 'List<String>'.", getByLocator());
              }
          } catch (Exception e) {
              throw new WidgetException("Error while selecting option on select", getByLocator(), e);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  qc.automation.framework.widget.IEditableField#setValue(java.lang.String)