When accessing some static files such as hudoig.gov/sites/default/files/documents/2016-FW-1007.pdf (random example) with Selenium using ChromeDriver, the file is automatically d
Another approach that you could take would be disabling the browser's ability to download. Namely, configure the DownloadRestrictions policy, discussed here.