unknown error: Element is not clickable at point (119, 628) i am having this issue, while i am try to click the menu If anyone know, please tell me how to solve this issue

0 votes
Feb 19, 2019 in Selenium by anonymous
1,214 views
Can you please share the code you are using and be a little more specific on the error that you are getting.

How to ask a question on edureka! Community?

At edureka! Community, we aim for users to have good experience and get their queries solved quickly. Please follow these practices while posting a question for better readability and understanding of the question.  

Question Title: Make your question title short and to the point. Don’t use generic titles. If your question is about an error, it is good to post the main line of the error as the title.

Question Description: Your question description should be simple and easy to understand. Include code, error log, screenshots of issues wherever necessary. Use proper formatting to increase readability (For example: Use “formatted” for code). Include details on what you are trying to do, steps to reproduce the error, solutions you have tried.

Category: Adding your question to the right category will increase the chances of your question being answered. It will help other members to find your question easily.

Tags: Adding relevant tags to your question is as important as adding it under the right Category. Right tags will display your question to other members thus increasing the chances of being answered faster.

Stay Connected: To get immediate updates, register with your Email ID.

1 answer to this question.

+1 vote

Hey, the error Element is not clickable at point (x, y) can arise from different factors. 

You can address them by either of the following procedures:

1. Element not getting clicked due to JavaScript or AJAX calls present

Try to use Actions Class:

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

2. Element not getting clicked as it is not within Viewport

Try to use JavascriptExecutor to bring the element within the Viewport:

WebElement myelement = driver.findElement(By.id("navigationPageButton"));
JavascriptExecutor jse2 = (JavascriptExecutor)driver;
jse2.executeScript("arguments[0].scrollIntoView()", myelement); 

3. The page is getting refreshed before the element gets clickable.

In this case induce ExplicitWait i.e WebDriverWait as mentioned in point 4.

4. Element is present in the DOM but not clickable.

In this case induce ExplicitWait with ExpectedConditions set to elementToBeClickable for the element to be clickable:

WebDriverWait wait2 = new WebDriverWait(driver, 10);
wait2.until(ExpectedConditions.elementToBeClickable(By.id("navigationPageButton")));

5. Element is present but having temporary Overlay.

In this case, induce ExplicitWait with ExpectedConditions set to invisibilityOfElementLocated for the Overlay to be invisible.

WebDriverWait wait3 = new WebDriverWait(driver, 10);
wait3.until(ExpectedConditions.invisibilityOfElementLocated(By.xpath("ele_to_inv")));

6. Element is present but having permanent Overlay.

Use JavascriptExecutor to send the click directly on the element.

WebElement ele = driver.findElement(By.xpath("element_xpath"));
JavascriptExecutor executor = (JavascriptExecutor)driver;
executor.executeScript("arguments[0].click();", ele);

Hope this helps!

answered Mar 18 by Harsh
Thanks.  option 6 work for me and problem solved.

Related Questions In Selenium

0 votes
1 answer

What is the actual conflict while performing click() on web element, and getting an error like element is not clickable at point(x,y)?

Hey @sastry, the error Element is not clickable ...READ MORE

answered Nov 27, 2019 in Selenium by Sirajul
• 57,940 points
1,200 views
+1 vote
3 answers

Getting this error: “Element is not clickable at point”

There are 3 possible solutions for this: 1. ...READ MORE

answered Apr 20, 2018 in Selenium by king_kenny
• 3,710 points
56,736 views
0 votes
1 answer
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
3,530 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,534 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,595 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
2,862 views