diff --git a/lavague-integrations/drivers/lavague-drivers-selenium/lavague/drivers/selenium/base.py b/lavague-integrations/drivers/lavague-drivers-selenium/lavague/drivers/selenium/base.py index fa69fea2..87fbb3f6 100644 --- a/lavague-integrations/drivers/lavague-drivers-selenium/lavague/drivers/selenium/base.py +++ b/lavague-integrations/drivers/lavague-drivers-selenium/lavague/drivers/selenium/base.py @@ -36,7 +36,7 @@ def default_init_code(self) -> Any: if self.headless: chrome_options.add_argument("--headless") if self.chrome_user_dir: - chrome_options.add_argument(f"user-data-dir={self.chrome_user_dir}") + chrome_options.add_argument(f"--user-data-dir={self.chrome_user_dir}") chrome_options.add_argument("--no-sandbox") self.driver = webdriver.Chrome(options=chrome_options)