There are two configuration parameters in Open URL, named UserDataFolderMode and UserDataFolderPath.
According to the documentation, I found that I can create profiles in Chrome and, by using these two parameters, open the browser with the specific profile I need. Unfortunately, it does not work.
I set UserDataFolderMode to custom and provided the profile path in UserDataFolderPath.
What could be the problem, and how can I solve it?
I really need to open multiple logins from the same website, and this would be the best solution for me if it worked!
No error occurs.
Suppose I have three profiles, and all of them are running. Sometimes, when I run OpenRPA, it opens Chrome with the correct profile, but on the next run, it does not. For example, one time it opens a fresh Chrome without any profile, and another time it opens an old Chrome with the wrong profile.
If I understand @mhsaffari correctly, he’s using multiple Chrome profiles at the same time. That will not go well in the long term.
OpenRPA does not support selecting which of the current profiles to use (for running instances), and Chrome/Edge will “randomly” open a new instance with the last used profile unless you use the config options on Open URL.
I can certainly see why there could be edge cases where you would want to use multiple profiles either in series or even in parallel, but OpenRPA was not really designed for that use case, and currently, it will only work if you do it in series.
Yes, I need to use multiple Chrome profiles at the same time.
My use case is being logged into a website with multiple accounts. Since the website uses CAPTCHA, I cannot log in every time the robot runs. I need to keep the accounts logged in across different browsers or profiles.