Update __init__.py

This commit is contained in:
kaliiiiiiiiiii 2023-09-10 09:34:47 +02:00 committed by GitHub
parent 8b1e5beff2
commit 2170559284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -296,7 +296,8 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
options.add_argument("--user-data-dir=%s" % user_data_dir)
language, keep_user_data_dir = None, bool(user_data_dir)
keep_window_size = None
# see if a custom user profile is specified in options
for arg in options.arguments: