This one works perfectly for me! The only thing is that you need to either hardcode the credentials or if you have stored them under the credential manager, which I did. It works like a charm… Also, there is no need to specify working directory. So the code snip looks something like this :
#this needs to be run only once for module installation
add activity to open chrome : UiPath.Core.Activities.OpenBrowser
set:
BrowserType = Chrome
Url = any url
UserDataFolderPath = path to user pofile as described below
the user profile will usually be like: “Profile 1” or “Profile 2” in the order you signed in to the profiles in chrome. You can find out the profile by trial and error.
The path to the user profile is generally as follows on windows:
“C:\Users\user\AppData\Local\Google\Chrome\User Data”
an example UserDataFolderPath would look like:
“C:\Users\Guest\AppData\Local\Google\Chrome\User Data\Profile 2”
I am having issues with this setting, I tried using “C:\Users\Guest\AppData\Local\Google\Chrome\User Data\Profile 1” in UserDataFolderPath but UiPath studio creates a new chrome profile instead of opening the existing one