everyone.
I have code in python where I want to click at the element that is located near the end of page:
wait.until(visibility_of_element_located((By.CSS_SELECTOR, "input[name='do-import']")))
wait.until(element_to_be_clickable((By.CSS_SELECTOR, "input[name='do-import']")))
driver.find_element(By.CSS_SELECTOR, "input[name='do-import']").click()
I'm using ChromeDriver.
When launching this script, it scrolls to this element and then crashes with this message:
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (500, 1707)
I though maximizing window size will help, but it won't.
Why this is happening?