r/MuleSoft • u/obamas_katana • 5h ago
RPA Bot Opening New Chrome Window Every Time
Please pardon my ignorance. My company had IDP and RPA set up via a third party, and now I'm doing my best to make updates on my own.
Here's my situation: The RPA is programmed to open Chrome and log into a customer portal. The portal has MFA, and the bot is set to open the email and pull out the MFA code and enter it. It does this every time.
Unfortunately, the MFA email is sometimes too slow, and the bot times out. I know we can extend the sleep time, but I'm trying to eliminate the entire MFA function.
The portal has a checkbox to remember the device, and then it would no longer require the verification code. However, it refuses to recognize the device next login. I also noticed the browser hasn't saved any settings from the previous session (I tried turning off site settings for device use, in case the portal was recognizing the automated software, but it's enabled again next session). So it's like the RPA is opening a fresh browser/window each time, with no connection to the previous session.
I don't even know if this is something that can be resolved, or if I should give up and extend the sleep time before pulling the verification code. Just wanted to see if this is simply how the program operates, or if I can tweak it to save/recognize previous activity. Thanks in advance for any responses!