web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Close Browser getting ...
Power Automate
Unanswered

Close Browser getting stuck Firefox

(0) ShareShare
ReportReport
Posted on by 11

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?

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

     

  • PIXOT Profile Picture
    11 on at

    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 

  • Archy Profile Picture
    83 on at

    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 😊

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard