Skip to content

Commit 72832a5

Browse files
committed
Update geckodriver
1 parent d06663f commit 72832a5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

seleniumbase/console_scripts/sb_install.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
DRIVER_DIR = os.path.dirname(os.path.realpath(drivers.__file__))
5555
LOCAL_PATH = "/usr/local/bin/" # On Mac and Linux systems
5656
DEFAULT_CHROMEDRIVER_VERSION = "114.0.5735.90" # (If can't find LATEST_STABLE)
57-
DEFAULT_GECKODRIVER_VERSION = "v0.35.0"
57+
DEFAULT_GECKODRIVER_VERSION = "v0.36.0"
5858
DEFAULT_EDGEDRIVER_VERSION = "115.0.1901.183" # (If can't find LATEST_STABLE)
5959

6060

@@ -1296,7 +1296,10 @@ def main(override=None, intel_for_uc=None, force_uc=None):
12961296
if os.path.exists(new_file):
12971297
os.remove(new_file) # Technically the old file now
12981298
log_d("Extracting %s from %s ..." % (contents, file_name))
1299-
tar.extractall(downloads_folder)
1299+
if sys.version_info < (3, 12):
1300+
tar.extractall(downloads_folder)
1301+
else:
1302+
tar.extractall(downloads_folder, filter="fully_trusted")
13001303
tar.close()
13011304
os.remove(tar_file_path)
13021305
log_d("%sUnzip Complete!%s\n" % (c2, cr))

0 commit comments

Comments
 (0)