In this video will see how to fix “ElementNotInteractable” exception/error.
To implement wait()/delay()/Implicitlywait()/sleep()/Thread.sleep()in selenium webdriver, please go through below link: https://youtu.be/WqrIwBJxkGo
I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com
Error:
Exception in thread "main" org.openqa.selenium.ElementNotInteractableException: element not interactable
(Session info: chrome=99.0.4844.51)
Build info: version: '4.1.2', revision: '9a5a329c5a'
System info: host: 'LAPTOP-VTFTKH7I', ip: '192.168.0.105', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [eb67ea27a0ba678f0f6257028442ced3, clickElement {id=91ea6278-4ed6-4eb7-84aa-7d4dcd1c6956}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 99.0.4844.51, chrome: {chromedriverVersion: 98.0.4758.102 (273bf7ac8c90..., userDataDir: C:\Users\homep\AppData\Loca...}, goog:chromeOptions: {debuggerAddress: localhost:58763}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), se:cdp: ws://localhost:58763/devtoo..., se:cdpVersion: 99.0.4844.51, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Element: [[ChromeDriver: chrome on WINDOWS (eb67ea27a0ba678f0f6257028442ced3)] -> xpath: //a[text()='Selenium']]
Session ID: eb67ea27a0ba678f0f6257028442ced3
NoTraceableError.main(NoTraceableError.java:13)