0

enter image description here

the profile - profile 2 isn't opening instead a guest tab is used, how to fix it to open profile specified in code

1 Answers1

0
chrom_options.add_arguments("user-data-dir=C:\\blabla\\User Data")

chrom_options.add_arguments("profile-directory=Profile 2")

user-data-dir considers profile as default , and you don't have to specify that . If its something else specify it through profile-directory argument

PDHide
  • 18,113
  • 2
  • 31
  • 46