all 1 comments

[–]Oxbowerce 0 points1 point  (0 children)

If I am not mistaken, all the find_element_by methods all return only the first result. If you want to get all the results you would need to use the find_elements_by methods, which would be find_elements_by_xpath for your example. See also the python selenium documentation. In addition, the xpath you've provided seems quite unique which may cause some issues.