Update __init__.py
This commit is contained in:
parent
8b1e5beff2
commit
2170559284
|
@ -296,7 +296,8 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
|
||||||
options.add_argument("--user-data-dir=%s" % user_data_dir)
|
options.add_argument("--user-data-dir=%s" % user_data_dir)
|
||||||
|
|
||||||
language, keep_user_data_dir = None, bool(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
|
# see if a custom user profile is specified in options
|
||||||
for arg in options.arguments:
|
for arg in options.arguments:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue