From 3ce067eb5af953b80480e27d2b5d577bb58eeb4b Mon Sep 17 00:00:00 2001 From: Jay Caesar Date: Thu, 28 Oct 2021 07:49:11 +0800 Subject: [PATCH] added custom path for unzipping the driver --- undetected_chromedriver/v2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/undetected_chromedriver/v2.py b/undetected_chromedriver/v2.py index f5bc525..bcd4808 100644 --- a/undetected_chromedriver/v2.py +++ b/undetected_chromedriver/v2.py @@ -91,6 +91,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver): delay=5, version_main=None, patcher_force_close=False, + custom_data_path=None ): """ Creates a new instance of the chrome driver. @@ -159,6 +160,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver): executable_path=executable_path, force=patcher_force_close, version_main=version_main, + custom_data_path=custom_data_path ) patcher.auto()