question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Element is not clickable at point

See original GitHub issue

Meta -

OS: Windows 8.1 Selenium Version: 2.53.0, Browser: Firefox Browser Version: 45.0.1 (64-bit)

Expected Behavior -

I have some code in Java WebDriver In selenium build version 2.48.2 that: driver.findElement(By.xpath(“//span/span/span[text()=‘Profiles’]”)).click()

worked well

Actual Behavior -

This execution has stopped working in build version 2.53.0: driver.findElement(By.xpath(“//span/span/span[text()=‘Profiles’]”)).click()

I have ERROR:

org.openqa.selenium.WebDriverException: Element is not clickable at point (1056, 528). Other element would receive the click: <span role="img" id="button-1012-btnIconEl" class="x-btn-icon-el  " unselectable="on" style=""></span>
Command duration or timeout: 78 milliseconds
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'SWMINDmadu', ip: '10.5.100.34', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_51'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=45.0.1, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: d7254e66-755d-4646-8f94-9a98ed0719fd
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:327)
    at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:85)
    at General.GeneralADMIN.LogIn(GeneralADMIN.java:27)
    at Profiles.EventsTC.beforeTest(EventsTC.java:19)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    at org.testng.TestRunner.beforeRun(TestRunner.java:648)
    at org.testng.TestRunner.run(TestRunner.java:616)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
    at org.testng.SuiteRunner.run(SuiteRunner.java:261)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1191)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1116)
    at org.testng.TestNG.run(TestNG.java:1024)
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:112)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:176)

Steps to reproduce -

I think this is due to the fact: text()=‘Profiles’

This is very sad because 80% my elemets contain “text”

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mstankovic86commented, Mar 29, 2016

@marious88 you should click on “a” html element (instead of span)

0reactions
Vishnuthalacommented, Apr 6, 2018

ElementNotInteractableException: Message: Element could not be scrolled into view this is error on Selecting the checkbox on the robot framework.please,give a solution

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Selenium's "Element Is Not Clickable at Point"
The error “element is not clickable at point” is self-explanatory. It means that the element that you're trying to click on can't be...
Read more >
Debugging "Element is not clickable at point" error
This is caused by following 3 types: 1.The element is not visible to click. Use Actions or JavascriptExecutor for making it to click....
Read more >
How To Deal With "Element is not clickable at point” Exception ...
The exception “Element is not clickable at point” usually occurs when the WebElement we want to interact with (or click) is not clickable...
Read more >
Selenium - Element is not clickable at point - Tutorialspoint
When the position of an element is changing and we make an attempt to click on it, this error is encountered. This is...
Read more >
Element is not clickable at point SeleniumWebdriverException
Before clicking on an element we need to make sure the element is present in the DOM, visible in the UI and the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found