The latest Chrome and Edge updates (114.0.1823.37) introduced a breaking change to the way support for Active Accessibility is enabled.
This causes automation processes to fail when trying to interact with the following browser screens:
- Print popup
- PDF viewer
Following the browser update, it is no longer possible to identify web elements using Active Accessibility (AA) mode with UIAutomation activities.
Example of selector that no longer works because of this issue:
<wnd app='chrome.exe' title='RPA Resources*' /> <ctrl role='document' text='chrome://print/' /> <ctrl name='Print' role='push button' />
The problem occurs regardless of the UIAutomation package version or the Studio version.
Revert to Chrome / Edge version 113.
We are actively working on providing patches for all supported LTS versions of the UiPath.UIAutomation.Activities package, as soon as possible:
We will update this post when these patches are released.
If reverting to the previous version of Chrome / Edge is not possible in your case, please contact our technical support team.
We have published the patches for versions 23.4 and 22.10. UiPath.UIAutomation.Activities packages with versions 23.4.7 and 22.10.7 are available in the official feed.
To resolve the issue, for the affected projects you need to update the UIAutomation project dependency to one of these package versions. Below is an example for updating UiPath.UIAutomation.Activities package to version 23.4.7.
Patches for the other LTS versions (22.4, 21.10, 20.10) will be released tomorrow and we will announce here once they are available. Thanks for your patience and we apologize for any disruption this may have caused.
UiPath.UIAutomation.Activities package versions 22.4.9 and 21.10.9 containing the fix have also been published and are available in the official feed.
The patch for version 20.10 will follow and we will announce here when it is released.
Latest update of the day
UiPath.UIAutomation.Activities version 20.10.14 has also been published. We now have all patches for supported LTS versions available on the official feed.
Update June 9, 2023
We have now published UiPathRemoteRuntime.msi v23.4.7. This version of UiPath Remote Runtime is compatible with all UiPath.UIAutomation.Activities packages containing the fix:
If you are using Chrome/Edge for browser automation in a remote environment (Citrix, Windows Remote Desktop, VMware Horizon), and you updated your projects to use any of the above UiPath.UIAutomation.Activities package versions, you can download this UiPathRemoteRuntime.msi installer and upgrade the UiPath Remote Runtime on the remote server.
This is the last piece that will help you resolve the issues caused by the Chrome/Edge update.
We apologize for any inconvenience this may have caused and please let us know if any additional information is needed.