click multiple buttons with same class names in Python. : [enter image description here][1]
This a column in a table this column contains buttons, on pressing each buttons a pdf is downloaded

the buttons have the same class names
and i want to click on all the buttons, this is what i did, but it doesnt work
  [1]: https://i.stack.imgur.com/W6zmd.png

addinfo = driver.find_element_by_class_name('btnAddInfo')
    
    # for x in addinfo:
    #     if addinfo[x].is_displayed():
    #         addinfo[x].click()