From 1d2bafeb69d3ef69dd6f84b7fb5b5ef3cf13885b Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 15 Jul 2023 20:04:25 +0200 Subject: [PATCH] Call proper method for closing automated browser --- scripts/Windows/Scripts/BrowserAutomation.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }