Question: how to select all the similar value from the dropdown in selenium?
Answer: Select oSelect = new Select(driver. findElement(By. id("yy_date_8")));
List <WebElement> elementCount = oSelect. getOptions();
int iSize = elementCount. size();
for(int i =0; i<iSize ; i++){
String sValue = elementCount. get(i). getText();
System. out. println(sValue);
}