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 to instantiate Bro...
Power Automate
Answered

How to instantiate Browser when going to new page in response to click

(0) ShareShare
ReportReport
Posted on by 431

I have a Browser1 with webpage 1 which has a link. When I  click the link I navigate to Page 2 which also has a link. I want to use the Clink link on webpage action on this link which requires me to enter a Browser Instance.  It seems like a chicken and egg situation. At what point/how do I define the browser instance.

  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    For the first web page you are opening 

    Use launch browser action

    Then click on the link which you need 

    Again take launch browser use attech to running instance and this variable browser2 should be given to click the link on webpage 

     

    Hope this helps

    Usha

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Your browser instance stays the same as long as you operate within the same browser tab, even if you navigate somewhere to a different URL. The browser instance does not store the URL in any way. It just stores an Id that allows PAD to target the specific tab, and that's it. Even if you navigated away manually to some other page while your flow was paused, it would still work under the same browser instance. So, you don't really need to do anything and simply provide the same browser instance in there.

     

    That is, of course, unless the new page opens in a new tab/window. In that case you need to use the Launch new {browser} action but make it attach to an existing instance, instead of launching a new one.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Steve48 Profile Picture
    431 on at

    I’m still having some trouble with this. The click on the first link in browser 1 tab 1 opens a new tab in the same chrome window. What I understand you are saying is to launch a new instance which I could call browser 2, but attach it to the running instance. If this is correct, can I then close browser 2 without also closing browser 1. 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    When you use the Launch new {browser} action, there is a drop down inside the action properties to select whether you want to launch a new browser, or attach to an already running browser. It is set to launching a new one by default, but if you make it attach to an existing instance, you can use that to create a new %BrowserInstance% variable for the new tab. And yes, you can use Close browser to close a single browser tab, if you have that tab as a browser instance variable.

    Agnius_0-1698815463945.png

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard