Fix custom profile handling

This commit is contained in:
sebthom
2022-02-17 17:41:12 +01:00
parent 5773fc35aa
commit 311311a0f1
2 changed files with 3 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ class SeleniumMixin:
browser_options.add_argument(f"--user-data-dir={self.browser_config.user_data_dir}")
if self.browser_config.profile_name:
LOG.info(" -> Browser Profile Name: %s", self.browser_config.profile_name)
browser_options.add_argument(f"--profile-directory={self.browser_config.profile_name}")
browser_options.add_argument("--disable-crash-reporter")