Getting this error Element is not clickable at point

+1 vote

This error is only with Chrome and nothing else. Error is:

"org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other element would receive the click: ..."

The element I want to click is, actually beside the element that is going to recieve the click. Neither is this element on top of it nor overlapping it. Any work around for this?

Announcement! Career Guide 2019 is out now. Explore careers to become a Big Data Developer or Architect!

Apr 21, 2018 in Selenium by kappa3010
• 2,090 points
85,711 views

5 answers to this question.

+1 vote

There are 3 possible solutions for this:
1. Use Actions() method

WebElement element = driver.findElement(By("element_path"));
Actions actions = new Actions(driver);
actions.moveToElement(element).click().perform();

2. Use Waits to let the page load completely before the click is performed

driver.manage().timeouts().implicitlywait(15 TimeUnit.seconds)

3. The element is not clickable because of a Spinner/Overlay on top of it:

By loadingImage = By.id("loading image ID");
WebDriverWait wait = new WebDriverWait(driver, timeOutInSeconds);
wait.until(ExpectedConditions.invisibilityOfElementLocated(loadingImage));

For details, You can even check out Selenium concepts with the Selenium Testing Course.

answered Apr 21, 2018 by king_kenny
• 3,710 points
In Data driven framework while selecting data picker above info helped me a lot.

Thank you
Thanks got some useful information, which indeed helped me to run my script
Thanks a lot. Saved a lot of my time.
Do upvote the answer in case you found it helpful!
0 votes
WebElement element=driver.findelement(By.Xpath("your xpath"));

Point p= element.getLocation();

Actions actions = new Actions(driver);

actions.moveToElement(element).movebyoffset(p.x,p.y).click().perform();
answered Feb 22, 2019 by Shalini Karre
Thanks !!! worked..