Hi all. My bot published locally in my pc suddenly has issue. Running in UiPath Assistsnt, the first part of the bot is working fine but when it reaches a specific page, the bot stopped working as it is unable to detect and click on an element. This bot has been working for the past 2 years so is it pretty strange that it stopped working suddenly.
I am able to understand that your code is dropping in mid
You can try below steps:
Go through the ui element selectors where it is dropping , work on the page loading issue here you can use check app state check browser extension as well !
If not working try reinstalling browser extension.
Hope it works !
If it works mark as solution solved
Changes in the target application may cause this issue. Please check the selector carefully at the step where it is failing.
Also, sometimes the previous step may succeed, but the application might land on an unexpected page or state. Verify the application state before proceeding to the next step.
• The target app/web page UI may have changed (HTML update, new iframe, dynamic IDs).
• Try indicating the element again and compare the selector with the old one.
• Check if browser or application was auto-updated recently.
• Make sure screen resolution, display scaling, and DPI settings haven’t changed.
• Run in debug mode and use Highlight to see if UiPath can still find the element.
• Try switching click method (Simulate / SendWindowMessages / Hardware).
• Clear browser cache or restart the app/PC.
looks like its failing on attach browser or use app browser only..you might need to check if the title is changing or use wild cards in it to make it dynamic
Yes, it can help. Deleting the C:\Users<Username>.nuget\packages\UiPath folder is safe and often fixes issues caused by corrupted or mismatched packages across different Studio versions. UiPath will automatically re-download the required packages the next time you open the project or restore dependencies. This is a common troubleshooting step for package-related errors.
Since the automation has been working for the past 2 years and now fails only on a specific page, this is most likely not a logic issue, but an environment or UI change.
I would suggest checking the following:
Application / Web UI changes
Even minor UI changes (dynamic attributes, new iframe, shadow DOM, etc.) can break selectors. Open the workflow in Studio and re-indicate the element where the failure occurs. Prefer stable attributes or anchor-based selectors.
Screen resolution or display scaling
If the bot is run via UiPath Assistant, any recent change in screen resolution or scaling (125%, 150%) can affect element detection. Ensure display scaling is set to 100% and avoid image-based or coordinate-based clicks.
Browser or application updates
Silent browser or application updates can impact selectors and UI frameworks. Make sure the UiPath browser extension is updated and compatible with the current browser version.
UiPath Studio / Robot version or corrupted packages
If UiPath was recently upgraded, local NuGet packages may be corrupted or mismatched. Close Studio and Assistant, delete the following folder, and let Studio restore packages:
C:\Users\<Username>\.nuget\packages\UiPath
Timing and page load readiness
Add proper waits such as Wait for Ready = Complete, Element Exists, or validate that the page is fully loaded before performing the click.
After re-validating the selector and republishing the process, the issue should be resolved in most cases.