Hi All,
I have to automate one work and in that i have to switch between 3 chrome profiles how to achieve this with UiPath ?
Hi All,
I have to automate one work and in that i have to switch between 3 chrome profiles how to achieve this with UiPath ?
Hi,
I hope this will help you,
Thank you
use Existing browser Tab into Attachbrowser…
or
Pass Browser output to “Activate” Activity.
Regards,
Prasanth Kumar Manivannan
BattleBots!!
Thanks for your response,
Let me explain more detail, I have 3 chrome profile names in excel. I read the values from excel and stored in a Data table.
eg : First my automation should start and open profile 1 and then it should open google page. Next the profile 2 should open in chrome then it should open google page.
How to achieve this?
Hello @kitty123
Use Start Process activity and pass argument like this
"--profile-directory=""Default"""
to open default profile
"--profile-directory=""Profile 1"""
to open Profile 1
"--profile-directory=""Profile 2"""
to open Profile 2 etc.
C:\Users\<user ID>\AppData\Local\Google\Chrome\User Data
I have just tried to open one profile but the facebook is opening in the recent profile i closed its not opening in the given profile.
Dont use Open Browser activity.
Start Process will automatically open Chrome with desired profile. Just attached to browser once its opened.
Use pre-defined profile directory names i.e. Default,Profile 1, Profile 2 etc.
@AkshaySandhu Thanks for the response when i use single activity it is working but in the below process while taking the profile list from excel it is not working.
It seems that you are using profilePath
variable instead of CurrentRow.
In Argument section pass CurrentRow("Profile_Directory_Name").ToString
profilePath variable is going to have index of current row in For Each activity (check Output section of For Each activity).
In here Profile_Directory_Name depends on the column name in Chrome Profiles excel file. Show us the screenshot of that excel file.
Its just column A but i tried this already not working
getting this error
Please a look into the attached sample project. It should give you fairly good idea on logic.
Chrome_Profiles.zip (10.4 KB)
Same error
Compare given project with your project. There must be steps that you are missing.
Run the sample project and your project in debug mode. You should be able to identify the issue.