Can not add argument "profile-directory" to open an existing profile #2331
-
Hello everyone, I try to log in to Google with a specific profile. But SB always opens profile "Default" in user-data-dir, how can I add argument "profile-directory" like selenium options? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Edit: Read the official answer... mine isn't the greatest it seems, still learning Hello there. Just a newb that is willing to help here.. Kind of a round about method but I used a new install of chrome with only 1 newly created profile and copied only that profile over to my user data dir, SB used this one by default and it worked for me. if you have multiple you might need a little more assistance here |
Beta Was this translation helpful? Give feedback.
-
If you need multiple profiles, set a different If you're setting the |
Beta Was this translation helpful? Give feedback.
If you need multiple profiles, set a different
user_data_dir
for each one that you want. Only theDefault
profile is supported.If you're setting the
user_data_dir
while using UC Mode, then make sure you read #2118 (comment) first. (Don't mix a regularuser_data_dir
with one that is used by UC Mode Chrome, as the two formats are not compatible.)