downloading VAERSBeforeDeletion.7z

This commit is contained in:
Frank Knoll
2024-04-22 12:09:43 +02:00
parent 6a488254fa
commit f8cecf8bad
9 changed files with 113 additions and 25 deletions

View File

@@ -6,7 +6,8 @@ from selenium.webdriver.common.by import By
def _getOptions(downloadDir, isHeadless):
options = Options()
options.headless = isHeadless
if isHeadless:
options.add_argument('--headless=new')
options.add_experimental_option("prefs", {"download.default_directory" : downloadDir})
return options