Spyke

Replies

Comment on

[QUESTION] how to handle chrome profile selection pop-up when launching the browser

Reply in thread

If you mean the --user-data-dir and --profile-directory options then here's what happens:

  • I'm supposed to check the user-data-dir path to parse by opening chrome://version
  • the data dir path can be parsed either with the profile directory or not; in my case the profile is named Default
  • when parsing the full path chrome opens in incognito mode and selenium throws a selenium.common.exceptions.SessionNotCreatedException
  • cutting the Default off from the data dir path and disabling the profile directory option ends up in profile selection window not having the previously visible Profile 1
  • I've tried deleting Profile 1, it didn't seem to do anything

edit: I misremembered the behavior when (not) parsing the full path to the default profile

You reached the end