I have a problem related to running jobs that involve one process. My flow includes the following steps: killing all processes, in a for loop using the web browser incognito window to scrape data, and after for loop sending a Gmail email. During the for loop its logging out from my Google account, so as a result I
m losing access to the website to which I scrap data. The website has 2-factor auth that`s why I cannot log in back during the process.
You will have to enable the UiPath extension in Incognito mode. Follow these steps for it.
This should resolve your original issue.
Any specific reason to use Incognito mode?
Thanks,
Ashok
Can you try the below solutions :-
Check for Session Expiry:
Monitor the session expiry time for your Google account or the website you are scraping. If there’s a predictable time when the session expires, you can proactively refresh the session before it expires.
Use Session Cookies:
Extract the session cookies during the initial login and use them in subsequent requests. This way, even if the session appears to be logged out, the cookies will maintain the authentication.
Yes, I need incognito mode for the process to work properly. And I already checked “Allow in Incognito” button in UiPath extensions.
Hi @Stepan_Zhemevko ,
Try to keep the Killing all process at the end of the flow , since you are telling that logging in during the process is not possible keep the logged in session active till the process gets completed.
Thanks,
Gautham.
I was trying it. Killing processes at the end or at the beginning do not influence this problem.
Okay.!
Try updating the extension once in chrome browser.