AttributeError: ‘list’ object has no attribute ‘click’ – Selenium Webdriver

Thanks for helping out. I found the answer for myself. Idea given by “Dan Niero”

The problem is, I am using driver.find_element[s] instead of driver.find_element. So one s makes difference and calling a wrong method. In fact I am following the eclipse autocomplete :(. Obviously driver.find_elements_by_link_text returns list so If I send click event it wont understand.

Thanks for helping and sorry for my bad question

-Vikram

Leave a Comment