I am having a problem where the RPA bot cannot find the element I want it to interact with.
this is the exception message
[WARN] 2021-11-10 21:27:27 14s (0h) - Inside LoginWM catch : Exception:org.openqa.selenium.NoSuchElementException: Unable to find element with xpath == //input[@name='userID']For documentation on this error, please visit: www.seleniumhq.org/.../no_such_element.htmlBuild info: version: 'unknown', revision: 'unknown', time: 'unknown'System info: host: 'vwapndv010', ip: '10.188.216.27', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'Driver info: org.openqa.selenium.ie.InternetExplorerDriverCapabilities {acceptInsecureCerts: false, browserName: internet explorer, browserVersion: 11, javascriptEnabled: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), se:ieOptions: {browserAttachTimeout: 0, elementScrollBehavior: 0, enablePersistentHover: false, ie.browserCommandLineSwitches: , ie.edgechromium: false, ie.edgepath: , ie.ensureCleanSession: false, ie.fileUploadDialogTimeout: 3000, ie.forceCreateProcessApi: false, ignoreProtectedModeSettings: false, ignoreZoomSetting: false, initialBrowserUrl: http://vwq9wmsqa7/wmweb/, nativeEvents: true, requireWindowFocus: true}, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}Session ID: 7bbd1d4d-6979-47ed-a2e5-bf3decbfdff7*** Element info: {Using=xpath, value=//input[@name='userID']}
Could it be a problem with the driver?
Discussion posts and replies are publicly visible
Sometimes the bot can't find the element on the page because it's not directly on the screen. When configuring the action you should see a checkbox to 'scroll to element'.
The data could also be in an IFrame which means you'd have to switch the frame first