code: public void selectOptionFromDropdownByDisplayText(final By by,
  			final String displayText) {
  		Select select = new Select(driver.findElement(by));
  		select.selectByVisibleText(displayText);
  	}
docs: Select text from a drop down list based on the displayed text.
  
  @param by
  the method of identifying the drop-down
  @param displayText
  the text based on which the value will be selected