"Message: Select only works on elements, not on" means,
- Firstly, The above exception mean, Select class of selenium which you are using to choose a dropdown value works only for the HTML structure with select tag as below. It will not work for div/ul/li or any other tag.
<select name="cars" id="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
2)Selenium clicks has to be used to handle the dropdown with div tag. Refer stackoverflow link which has a solution for div tag type dropdown
3)For the elements where each and every attributes are similar, you can use the xpath as below, here '2' in the xpath means to choose the second element, similarly '3' for the third element and so on
driver.find_element_by_xpath("(//div[@class='class name'])[2]")
or
driver.find_element_by_xpath("(//div[@class='class name'])[position()=2]")
or
'''call find elements method instead of find element which will fetch all the elements
with the same class and loop through each element and perform action as below'''
all_div = driver.find_elements_by_xpath("//div[@class='class name']")
for div in all_div :
#action to perform on each element of div