Element is not clickable at point (x,y.5) because another element obscures it

This often works when element.click() does not:

element = driver.find_element_by_xpath(xpath)
driver.execute_script("arguments[0].click();", element)

There is possibly one thing you can do. It is very crude though, I'll admit it straight away.

You can simulate a click on the element directly preceding the element in need, and then simulate a key press [TAB] and [ENTER].


Actually, I've been seeing that error recently. I was using the usual .click() command provided by bare selenium - like driver.find_element_by_xpath(xpath).click().

I've found that using ActionChains solved that problem.

Something like ActionChains(driver).move_to_element(element).click().perform() worked for me.

You will need:

from selenium.webdriver.common.action_chains import ActionChains