diff --git a/py/selenium/webdriver/firefox/webdriver.py b/py/selenium/webdriver/firefox/webdriver.py index dd686d93923cc..b11936914b5e9 100644 --- a/py/selenium/webdriver/firefox/webdriver.py +++ b/py/selenium/webdriver/firefox/webdriver.py @@ -131,7 +131,7 @@ def install_addon(self, path, temporary=False) -> str: path = os.path.normpath(path) # account for trailing slash that will be added by os.walk() path_root = len(path) + 1 - with zipfile.ZipFile(fp, "w", zipfile.ZIP_DEFLATED) as zipped: + with zipfile.ZipFile(fp, "w", zipfile.ZIP_DEFLATED, strict_timestamps=False) as zipped: for base, _, files in os.walk(path): for fyle in files: filename = os.path.join(base, fyle)