ChromeDriver 83.0.4103.39 with python selenium bindings cannot click elements with single zero dimension

992 views
Skip to first unread message

gareth.lewi...@gmail.com

unread,
May 20, 2020, 4:36:08 PM5/20/20
to ChromeDriver Users
I'm using python bindings of selenium and have just updated Chrome and the driver to  83.0.4103.39

With previous chrome and chromedriver versions I had been able to click on elements that had 0 height, and greater than 0 width.

However, now I am getting the following error:

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable: element has zero size

garciah...@gmail.com

unread,
May 28, 2020, 3:50:30 AM5/28/20
to ChromeDriver Users
This has happened to me as well. What I think is happening is that we are trying to click a non visible children of the actual element we want to click. For me it worked looking for the parent of the node I wanted to click, and clicking it instead.

ramteke...@gmail.com

unread,
May 28, 2020, 7:30:36 AM5/28/20
to ChromeDriver Users
I'm also facing similar issue with Protractor after updating chrome driver to version 83.0.4103.61

- Failed: element not interactable: element has zero size
        (Session info: chrome=83.0.4103.61)
        (Driver info: chromedriver=83.0.4103.14 (be04594a2b8411758b860104bc0a1033417178be-refs/branch-heads/4103@{#119}),platform=Windows NT 10.0.17134 x86_64)

Andrew Lyons

unread,
Oct 8, 2021, 4:34:10 AM10/8/21
to ChromeDriver Users
For us this happens when the element to be clicked on is at the edge of the viewport and is less than 0.5 pixels visible.


I’d suggest screenshooting at the point of failure and looking at the location of the item to be clicked on to see if this is the same issue.

This can also happen where the item to be clicked on actually has zero size - i.e. where the item is clickable in a browser only because it has size in the ::after CSS.
Reply all
Reply to author
Forward
0 new messages