Seeing an intermittent error when attempting to script an authentication flow for a WEB portal:
no such element: Unable to locate elementerror for the
clickandWaitindicates that something in the xpath specified is dynamic:
Looking at the error, the xpath for the
clickAndWait element appears to be targeting the Continue button on the portal.
Utilising UI.vision, analysing the UI flow, the xpath is actually:
Use a tool such as UI.vision that can help map out the web page