I want to click on a button that is either not yet clickable or has another element on top of it.
But as soon as it is clickable, I want to press it. I tried this:
button = WebDriverWait(driver, 10).until(
EC.element_to_be_clickable((By.CLASS_NAME, "likeClick")))
button.click()
But it doesnt work because I still get the error
selenium.common.exceptions.ElementClickInterceptedException: Message: Element <a class="likeClick"> is not clickable at point (400,553) because another element <div class="delete-overlay"> obscures it```