WebApp Dispatcher: Unable to enter input to element due to invalid element state
Symptom
WebApp Connector is unable to work.
Fails with the following error in XXX.ClientDispatcher.log:
PSMDU018E Dispatcher error: [WebElementWrapper :: EnterText -> Failed to send text to element. Exception Details: OpenQA.Selenium.InvalidElementStateException: invalid element state: Element is not currently interactable and may not be manipulated (Session info: chrome=xxxxxx) (Driver info: chromedriver=xxxxxx),platform=xxxxxx)
.
.
PSMDU018E Dispatcher error: [WebFormDispatcher :: HandleException -> CyberArk.WebAutomationUtils.WebBrowserException: Unable to enter input to element '//*[@id="username"]'. Refer to the log for more information ---> OpenQA.Selenium.InvalidElementStateException: invalid element state: Element is not currently interactable and may not be manipulated (Session info: chrome=xxxxxx) (Driver info: chromedriver=xxxxxx),platform=xxxxxx)
Environment
11.7;12.0;12.1;12.2;12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
Cause
Element was not ready for interaction yet.
Resolution
To workaround this:
- In PVWA > options > Connection Component> PSM-XX > Target Settings> WebformFields
- Add (Wait=5) above the line having issue.
==
So an example for this case will be:
(Wait=5)
Username>xxxx
Password>xxxxx
Button>xxxxx