Facing the following error when using
driver.find_element_by_id(element_id).click()
to click a disabled element.
**Error:** ... is not clickable at point (1585, 222). Other element would receive the click:
Facing the following error when using
driver.find_element_by_id(element_id).click()
to click a disabled element.
**Error:** ... is not clickable at point (1585, 222). Other element would receive the click:
try this
driver.execute_script('arguments[0].click();', driver.find_element_by_id(element_id))
The element isn't disabled. Another element would receive the click so some other element is on top of the element you are trying to click. This could be something like a dialog or a sidebar or it could be that the page was still loading, resizing content when you tried to click. We can't tell because you haven't provided any details. – JeffC 27 mins ago