Selenium baixar arquivo automaticamente c #

Estou tentando configurar o Firefox para fazer o download automático de arquivos. Eu fiz como sugerido eminsira a descrição do link aqui, Mas não consigo fazê-lo funcionar.

Este é o meu código:

FirefoxOptions options = new FirefoxOptions();
        options.SetPreference("browser.download.folderList", 2);
        options.SetPreference("browser.download.dir", "C:\\Windows\\temp");
        options.SetPreference("browser.download.useDownloadDir", true);
        options.SetPreference("browser.helperApps.neverAsk.saveToDisk", "application/pdf");
        options.SetPreference("pdfjs.disabled", true);  // disable the built-in PDF viewer
        options.SetPreference("browser.download.useDownloadDir", true);
        driver = new FirefoxDriver(options);
        driver.Manage().Window.Maximize();
        driver.Navigate().GoToUrl("https://www.mozilla.org/en-US/foundation/documents");
        driver.FindElement(By.LinkText("IRS Form 872-C")).Click();

O PDF ainda é aberto no visualizador de PDF do navegador. Qualquer ideia?