Script.py
profile = {"plugins.plugins_list": [{"enabled": False, "name": "Chrome PDF
Viewer"}], # Disable Chrome's PDF Viewer
"download.default_directory": source_dir,
"download.extensions_to_open": "applications/pdf"}
ChromeOptions.add_argument('--headless')
chromeOptions.add_argument('--disable-gpu')
chromeOptions.add_argument('--kiosk-printing')
chromeOptions.add_argument('--test-type')
chromeOptions.add_argument("--disable-infobars")
a835file =
driver.find_element_by_xpath('/html/body/a')
a835file.click()
Issue
The script runs fine and i can see the file is found but it doesn't download it.