code: @When("^I select '(.+?)' on the element on index '(\\d+?)'$")
      public void elementSelect(String option, Integer index) {
          Select sel = null;
          sel = new Select(commonspec.getPreviousWebElements().getPreviousWebElements().get(index));
  
          sel.selectByVisibleText(option);
      }
docs: Choose an @{code option} from a select webelement found previously
  
  @param option
  @param index