File tree Expand file tree Collapse file tree 6 files changed +10
-5
lines changed Expand file tree Collapse file tree 6 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ soupsieve==2.2.1;python_version>="3.6"
65
65
beautifulsoup4 == 4.9.3
66
66
cryptography == 2.9.2 ;python_version < "3.5"
67
67
cryptography == 3.2.1 ;python_version >= "3.5" and python_version<"3.6"
68
- cryptography == 3.4.7 ;python_version >= "3.6"
68
+ cryptography == 3.4.8 ;python_version >= "3.6"
69
69
pyopenssl == 19.1.0 ;python_version < "3.5"
70
70
pyopenssl == 20.0.1 ;python_version >= "3.5"
71
71
pygments == 2.5.2 ;python_version < "3.5"
Original file line number Diff line number Diff line change 1
1
# seleniumbase package
2
- __version__ = "1.64.0 "
2
+ __version__ = "1.64.1 "
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ def main(override=None):
447
447
448
448
file_path = downloads_folder + "/" + file_name
449
449
if not os .path .exists (downloads_folder ):
450
- os .mkdir (downloads_folder )
450
+ os .makedirs (downloads_folder )
451
451
452
452
if headless_ie_exists :
453
453
headless_ie_file_path = downloads_folder + "/" + headless_ie_file_name
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ def main():
401
401
data .append (" [" )
402
402
data .append (' ["pypi", "pypi.org"],' )
403
403
data .append (' ["wikipedia", "wikipedia.org"],' )
404
- data .append (' ["seleniumbase", "seleniumbase/ SeleniumBase"],' )
404
+ data .append (' ["seleniumbase", "SeleniumBase"],' )
405
405
data .append (" ]" )
406
406
data .append (" )" )
407
407
data .append (
Original file line number Diff line number Diff line change @@ -147,6 +147,9 @@ def _mark_chromedriver_repaired():
147
147
abs_path = os .path .abspath ("." )
148
148
chromedriver_repaired_lock = constants .MultiBrowser .CHROMEDRIVER_REPAIRED
149
149
file_path = os .path .join (abs_path , chromedriver_repaired_lock )
150
+ downloads_folder = download_helper .get_downloads_folder ()
151
+ if not os .path .exists (downloads_folder ):
152
+ os .makedirs (downloads_folder )
150
153
out_file = codecs .open (file_path , "w+" , encoding = "utf-8" )
151
154
out_file .writelines ("" )
152
155
out_file .close ()
@@ -1500,6 +1503,8 @@ def get_local_driver(
1500
1503
auto_upgrade_chromedriver = False
1501
1504
if "This version of ChromeDriver only supports" in e .msg :
1502
1505
auto_upgrade_chromedriver = True
1506
+ elif "Chrome version must be between" in e .msg :
1507
+ auto_upgrade_chromedriver = True
1503
1508
if not auto_upgrade_chromedriver :
1504
1509
raise Exception (e .msg ) # Not an obvious fix. Raise.
1505
1510
else :
Original file line number Diff line number Diff line change 180
180
"beautifulsoup4==4.9.3" ,
181
181
'cryptography==2.9.2;python_version<"3.5"' ,
182
182
'cryptography==3.2.1;python_version>="3.5" and python_version<"3.6"' ,
183
- 'cryptography==3.4.7 ;python_version>="3.6"' ,
183
+ 'cryptography==3.4.8 ;python_version>="3.6"' ,
184
184
'pyopenssl==19.1.0;python_version<"3.5"' ,
185
185
'pyopenssl==20.0.1;python_version>="3.5"' ,
186
186
'pygments==2.5.2;python_version<"3.5"' ,
You can’t perform that action at this time.
0 commit comments