added custom path for unzipping the driver

This commit is contained in:
Jay Caesar 2021-10-28 07:49:11 +08:00
parent bb6f5d0d96
commit 3ce067eb5a
1 changed files with 2 additions and 0 deletions

View File

@ -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()