You can try @beesheep solution. it will fulfill your needs.I have also tried this by considering only one time browser open instance because what i wants to mention here
Chrome Browser uses separate process for new tab so in case of any happening to one tab it will not hang the whole browser and the other thing i have found about google chrome is if you have some extensions installed in your chrome then even if you will close the browser then still it’s process is running in the background due to such extensions.
please go through this link:
So you can use only one time browser opening in your task if possible and other best practices you can do is just be prepare for other cases like error. You can use try catch and state machines.
what i have faced during this is at the time of filling first screen sometimes web pages returns some error due to their side so you should handle such things suppose like pop up be using element exists activity.
and if you will mostly work with clients citrix environment then use image exists and hot keys as much because they are the only reliable way,
In my solution i can not consider whole cases and scenarios because this forum is to only guide all of us.
You can try this solution also. Take a look
Note - I am using IE browser because Uipath activities and uiexplorer and selectores best works with IE.
SolutionSample.zip (13.6 KB)
@Smitha1 Actually i forgot to update the excel path. Now updated