dropdown details
January February
dropdown_data = driver.findElement(By.xpath("Xpath of the dropdown"))
# which selects the dropdown
for i in range len(dropdown_data): print(dropdown_data[i].text)