Call proper method for closing automated browser
This commit is contained in:
parent
06dd879887
commit
1d2bafeb69
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function Start-AutomatedDownload() {
|
|||
}
|
||||
|
||||
$result = Move-Item $file $outDir -PassThru;
|
||||
$browser.Close();
|
||||
$browser.Quit();
|
||||
Remove-Item -Recurse $tempDir;
|
||||
return $result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue