Hello,
I have just updated Firefox, PA Extension and PAD, and for some reason, each time I have a "Close Web Browser" action, the action itself is done imediatly but the code gets struck on it for like 20 seconds and moves to next action.
Anyone else has this issue?
u can use a workaround with a powershell action:
Stop-Process -Name "firefox" -Force
or if u want a little more control:
# Check if Firefox is running
$firefoxProcess = Get-Process -Name "firefox" -ErrorAction SilentlyContinue
if ($firefoxProcess) {
# Firefox is running, so close it
Stop-Process -Name "firefox" -Force
Write-Host "Firefox has been closed."
} else {
# Firefox is not running
Write-Host "Firefox is not running."
}
hope it helps 😊
It is really weird. The code works fine on my Dev laptop, but has this annoying bug when running on Azure. What worked for me in the past was just to downgrade it, but now I had to do some code updates, and here goes again the same issue.
Personal advise, do not use the Close Browser, just taskill it or click on UI (x button). This will never fail you.
Best regards,
Florin
Hello, @PIXOT .
Has it been resolved?
I had the same issue in Firefox, but it was fixed with an update? I have no problem.
Now, on a different PC, it takes 20seconds - one minute for the browser to close in Chrome.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2