i m using UiPath version 2022.20.11 … keeping this version i need to handle few pop ups on browser … is there any activity in UiPath i can use to handle popups?
No production ready activity as of now. We have upcoming Activities - Close Popup for this but it’s still in preview so not recommended in PROD.
For now developing a reusable code to handle the popups is the only solution.
1 Like
Modern Design Approach:
- Use the ‘Check App State’ activity to verify if the pop-up appears.
- If the pop-up is present, perform the required action. Otherwise, let the process continue without the pop-up.
Classic Design Approach:
- Use the ‘Element Exist’ activity, which will return a boolean output. Then, use the ‘If’ activity to proceed with the steps outlined in point 2 above.
Alternative Approach:
- If you want the process to continue without interacting with the pop-up, you can use the ‘Parallel’ activity, which allows multiple activities to run simultaneously. In this setup, one side of the parallel activity should contain the ‘Element Exist’ or ‘Check App State’ activity, while the other side continues with the tasks to be executed after the pop-up.
Thank you.
As of now you can either go with parallel activities…or global exception hndler
Geh would be best if they come in random palced
Cheers