TestProject Forum

Element Not Interactable Exception [SOLVED]

I am gettimg below error when execute the below action

Action : Click On an list item with a specific text in a unordered list

During debug execution, it is identified and worked. But during execution, below error

Error
java.util.concurrent.ExecutionException: org.openqa.selenium.ElementNotInteractableException: element not interactable
(Session info: chrome=92.0.4515.107)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘IN-SIGNACIOUS2’, ip: ‘127.0.0.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘13.0.1’
Driver info: io.testproject.java.sdk.v2.drivers.WebDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 92.0.4515.107, chrome: {chromedriverVersion=92.0.4…, goog:chromeOptions: {debuggerAddress=localhost:…, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: {proxyType=UNSPECIFIED, aut…, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit=0.0, pageLoad=300…, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true, webdriver.remote.sessionid: 6a9440160b8d946db242035c29d…}
Session ID: 6a9440160b8d946db242035c29d3525d
Caused by org.openqa.selenium.ElementNotInteractableException: element not interactable
(Session info: chrome=92.0.4515.107)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘IN-SIGNACIOUS2’, ip: ‘127.0.0.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘13.0.1’
Driver info: io.testproject.java.sdk.v2.drivers.WebDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 92.0.4515.107, chrome: {chromedriverVersion=92.0.4…, goog:chromeOptions: {debuggerAddress=localhost:…, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: {proxyType=UNSPECIFIED, aut…, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit=0.0, pageLoad=300…, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true, webdriver.remote.sessionid: 6a9440160b8d946db242035c29d…}
Session ID: 6a9440160b8d946db242035c29d3525d at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)

got solved after refresh the page

Hi,
If you encounter this or similar error please try following these steps:

  • Press F12

  • Go to the “reload page” button and right click:

  • Click on “Empty cache and Hard Reload”