Google Chrome browser issue with Locators

I am working on a automation script to have it working on both browsers (Firefox and Chrome)

I have located element individually in both browsers  with there respective tools (For ex: Identified relative xpath for an element which is common and element is located in both the browsers).

Now the issue is that the scripts are working in firefox but the same set of scripts are not working in chrome. due to its not able to identify elements

While running in chrome it gives below message:
“Element is not click-able at point(x,y) ”

I have tried with the methods to overcome this kind of issues by searching in google and relevant sites but those are not working. So, if anyone knows regarding this kind of issues and probable methods to resolve then request to please let me know.

Train Asked on November 2, 2015 in Selenium WebDriver.
Add Comment
  • 5 Answer(s)

    This is something we have seen in Chrome. You have two options
    1. Click that element via Java script

    ((IJavaScriptExecutor) driver).executeScript(“arguments[0].click();”, element);

    2. Scroll the element into view using javascript


    Professor Answered on November 2, 2015.
    Add Comment

    Hi, Thanks Virender for quick response.
    I’ve already tried this but its not working.
    If you can suggest any other option.

    Train Answered on November 2, 2015.
    Add Comment

    Can you share a link and the site? What is the problem that you are getting when you try to click the link via JavaScript?

    Professor Answered on November 2, 2015.
    Add Comment

    Hi Virender,
    Well, the problem we are facing is only in Chrome browser. The scripts works as expected in Firefox in either ways (with or without JavaScript).

    Anyhow for the confidential purpose, I’m sorry to share a link and the site.


    Train Answered on November 5, 2015.
    Add Comment

    Hi, guys

    It is popular chrome issue

    You try to click on element in second layout

    To sure that element is in first layout, firebug will around it in blue color 

    RE: Google Chrome browser issue with Locators

    Reviewer Answered on November 6, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.