code: @Override
      public void go() {
          logger.info("Waiting for select {}...", element);
          Select select = new Select(findElementOrFail(getWebDriver(), element));
          if (OptionSelectorType.INDEX.equals(optionSelectorType)) {
              logger.info("Selecting index {}...", optionSelector);
              select.selectByIndex((Integer) optionSelector);
          } else if (OptionSelectorType.VALUE.equals(optionSelectorType)) {
              logger.info("Selecting value {}...", optionSelector);
              select.selectByValue((String) optionSelector);
          } else if (OptionSelectorType.TEXT.equals(optionSelectorType)) {
              logger.info("Selecting text {}...", optionSelector);
              select.selectByVisibleText((String) optionSelector);
          }
      }
docs: Selects an option of the {@link org.openqa.selenium.WebElement element} described by
  {@link org.openqa.selenium.By}.