public void selectOptionFromDropdownByValue(final By by, final String value) {
		Select select = new Select(driver.findElement(by));
		select.selectByValue(value);
	}
public void selectOptionFromDropdownByValue ( final By by , final String value ) { Select select = new Select ( driver . findElement ( by ) ) ; select . selectByValue ( value ) ; }
Select a value from a drop down list based on the actual value, NOT
DISPLAYED TEXT.

@param by
the method of identifying the drop-down
@param value
the value to select