Skip to content
Home » AttributeError: ‘list’ object has no attribute ‘click’ – Selenium Webdriver

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

To solve AttributeError: ‘list’ object has no attribute ‘click’ – Selenium Webdriver error follow below methods.

ERROR LOG

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

How to solve AttributeError: ‘list’ object has no attribute ‘click’ – Selenium Webdriver ?

The issue is because you’re using driver.find_element[s] rather than driver.find_element. So one s makes a difference, as does calling the incorrect method. In reality, you might be using the eclipse autocomplete. Obviously, driver.find elements by link text returns a list, hence sending a click event will fail.

Hope the above solution works.

Also read :

SyntaxError: Non-ASCII character ‘\xa3’ in file