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 / How do I close an exis...
Power Automate
Answered

How do I close an existing opened browser window using Power Automate Desktop?

(0) ShareShare
ReportReport
Posted on by 50

Good evening,

 

I am trying to find a flow that will close an existing opened Chrome browser window using Power Automate Desktop. So far, none of the videos or texts have worked. Can someone lead me to the solution?

 

Thank you.

 

Joe

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @tucsondonpepe 

     

    If you are trying to close a specific chrome window, then use launch chrome action and select option as Attach to running instance like below

     

    Nived_Nambiar_0-1682044258050.png

     

    Once attached, you can use close web browser to close  that chrome instance.

     

    Nived_Nambiar_1-1682044315826.png

     

     

     

    Or if you want to close any chrome windows that is already opened in machine, so at the start of flow, use terminate process action to kill all Chrome process in machine like below

    Nived_Nambiar_2-1682044379889.png

     

     

    Hope this helps you

     

    Mark it as solution if this resolved your query 🙂

     

     

     

  • tucsondonpepe Profile Picture
    50 on at

    Good morning,

    Thank you for the reply. I added the Terminate Process action.

    tucsondonpepe_0-1682090058948.png

    And it did close the Chrome browser.

    However, the following then appeared.

    tucsondonpepe_1-1682090168091.png

    When I clicked on the x, the flow continued, otherwise the flow stopped. Is there a way to eliminate that message?

    Thank you for your help.

    Joe

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @tucsondonpepe 

     

    You have to add condition in the flow to close that pop up whenever it is found.

     

     

  • tucsondonpepe Profile Picture
    50 on at

    Good afternoon,

    Thank you for the reply. As a beginner, I have used the conditional, e.g.,

    tucsondonpepe_0-1682097901920.png

    However, I do not know how to specify the following.

    tucsondonpepe_1-1682097979337.png

    Can you help with this? Thanks.

    Joe

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @tucsondonpepe 

     

    Try like this

     

    Nived_Nambiar_0-1682103674760.png

     

     

    First use wait for window element to wait for that pop up present or not, enable error handling as run next action

    Nived_Nambiar_1-1682103726404.png

     

    Nived_Nambiar_2-1682103738152.png

     

     

    Next use if window contains action to validate same window is present or not and then click close button accordingly.

     

    Hope this helps

     

    Mark it as solution if it resolves your query 🙂

  • Verified answer
    tucsondonpepe Profile Picture
    50 on at

    Good afternoon,

    Many thanks for your advice. After testing your suggestions, I was able to create the flow that performs the necessary actions. I found out that there are many actions available in PAD.

    Joe

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard