Skip to content Skip to sidebar Skip to footer

Selenium Exception: Element Is Not Clickable At Point

I have recently upgraded selenium to the latest version (2.53), and firefox to the latest version (45.0.1). I run the same code on the same websites, but I suddenly have many excep

Solution 1:

Here's the solution I found:

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

It works, and reliably clicks on the element.

Solution 2:

Solution that worked for me to Solve element is not clickable at point(x,y) exception

1-Updated chrome driver to latest one 2.15

2-Get the coordinate then click on the link or button

3-Try to click using Y coordinates

# Find an element
WebElement elementToClick = driver.findElement(By.xpath("Your xpath"));

# Scroll the browser to the elements Y position 
((JavascriptExecutor)driver).executeScript("window.scrollTo(0," + elementToClick.getLocation().y + ")");

# Click the element
elementToClick.click();

Post a Comment for "Selenium Exception: Element Is Not Clickable At Point"