PSM Web connector error with EdgeDriver - loader has changed while resolving nodes
Symptom
PSM Web connector with Edge browser is not working with below error
--
[28/08/2023 | 12:49:32] | :: | PSMDU019I Dispatcher trace message: [HTMLPageController :: OpenWebBrowser -> System.InvalidOperationException: session not created from no such execution context: loader has changed while resolving nodes (Session info: MicrosoftEdge=116.0.1938.62) (SessionNotCreated)
--
Environment
12.2;13.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM
PSM
Edge
PSM connector
Cause
The error message "loader has changed while resolving nodes" is caused by the third-party solution EdgeDriver used for automating web browsers. Upon investigation, it seems that this error occurs when EdgeDriver tries to resolve references while a "Navigation" action is taking place.
This could happen when the target site processes client-side instructions that cause the page to navigate elsewhere while EdgeDriver is trying to load the page.
This issue could be triggered if the customer configures Target Settings > Web Form Settings > LogonURL to a landing page that redirects to the actual Logon page.
For example:
LogonURL is configured to https://192.168.10.114/, but the actual landing page is https://192.168.10.114/logon.aspx.
Resolution
Update Target Settings > Web Form Settings > LogonURL to the full address of the actual login page URL.