Selenium-Debugging: Element is not clickable at point (X,Y) Selenium-Debugging: Element is not clickable at point (X,Y) python python

Selenium-Debugging: Element is not clickable at point (X,Y)


Another element is covering the element you are trying to click. You could use execute_script() to click on this.

element = driver.find_element_by_class_name('pagination-r')driver.execute_script("arguments[0].click();", element)


I had a similar issue where using ActionChains was not solving my error:WebDriverException: Message: unknown error: Element is not clickable at point (574, 892)

I found a nice solution if you dont want to use execute_script:

    from selenium.webdriver.common.keys import Keys #need to send keystrokes    inputElement = self.driver.find_element_by_name('checkout')    inputElement.send_keys("\n") #send enter for links, buttons

or

    inputElement.send_keys(Keys.SPACE) #for checkbox etc


Because element is not visible on the browser, first you need to scroll down to the elementthis can be performed by executing javascript.

element = driver.find_element_by_class_name('pagination-r')driver.execute_script("arguments[0].scrollIntoView();", element)driver.execute_script("arguments[0].click();", element)