diff --git a/scripts/Windows/Scripts/BrowserAutomation.ps1 b/scripts/Windows/Scripts/BrowserAutomation.ps1 index 133fc916..6a2c3373 100644 --- a/scripts/Windows/Scripts/BrowserAutomation.ps1 +++ b/scripts/Windows/Scripts/BrowserAutomation.ps1 @@ -62,7 +62,7 @@ $null = New-Module { Write-Host "Downloading ``$URL`` using browser automation…"; $options = [OpenQA.Selenium.Firefox.FirefoxOptions]::new(); $options.SetPreference("browser.download.folderList", 2); - $options.SetPreference("browser.download.dir", $dir); + $options.SetPreference("browser.download.dir", "$dir"); $downloadChecker = { $files = Get-ChildItem $dir;