diff --git a/scripts/Windows/Scripts/BrowserAutomation.ps1 b/scripts/Windows/Scripts/BrowserAutomation.ps1 index 1bf44ecf..dcd12d84 100644 --- a/scripts/Windows/Scripts/BrowserAutomation.ps1 +++ b/scripts/Windows/Scripts/BrowserAutomation.ps1 @@ -68,7 +68,7 @@ function Start-AutomatedDownload() { } $result = Move-Item $file $outDir -PassThru; - $browser.Close(); + $browser.Quit(); Remove-Item -Recurse $tempDir; return $result; }