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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Is there a way to swit...
Power Automate
Unanswered

Is there a way to switch tabs in the same browser instance

(0) ShareShare
ReportReport
Posted on by

I have one site open in my first tab.  I select values from text fields and save those into variables.  Then I need to switch to tab #2 so that I can input those values/variables into fields at the second site (tab).  What generic "Go To Web Page" seems to do, with To Url, is to put the url for the second site/tab into the address bar for the first tab that I'm already targeting - which is not what I want because I'll need to return to tab #1 later on.

I have the same question (0)
  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Use Send Keys:

     

    This is for chrome:

    https://support.google.com/chrome/answer/157179?hl=en&co=GENIE.Platform%3DDesktop#zippy=%2Ctab-window-shortcuts

    MichaelAnnis_1-1666112856621.png

    Good luck!

     

  • Community Power Platform Member Profile Picture
    on at

    Hmm, next problem.

     

    I use Populate text field on web page to write the values into fields in the second, target, page.  However, I determined that they're getting written into the source page where the html input fields have the same names (both locations built by, more or less, the same people).  Check: do I have my target UI elements properly selected on the target page?  Yes, it appears that I do.  Fiddled with it some using Add UI element - but still getting the same results, meaning, it's writing back to the source page and not the target page.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Edit the header of the UI elements to see if you can differentiate between the two.  You probably have something that looks like this:

     

    Pane - Chrome

        UI 1

        UI 2

        UI 3

    Pane - Chrome 2

        UI 1

        UI 2

        UI 3

     

    Edit the bold header to differentiate from the two...sometimes it might be title name or something.  I currently have a flow and I use regular and icognito, because i'm accessing the same website twice.  It's probably not necessary as there are other selectors, but for me, by selecting the "Name" checkbox...incognito was in the second one, so it doesn't confuse the two.

  • BoredFish Profile Picture
    26 on at

    Yes I know, this is technically not a direct answer to the specific question, and I realize that... however, I think it's fairly reasonable in this use-case to point out that unless you need to physically see the tab as the Flow runs, there's really no need to navigate across browser tabs.

     

    When you use the Action Create new tab, it stores that tab into a new web browser instance variable. If you're using defined UI elements from each page for basic stuff like clicking buttons, scraping data or inputting text, then PAD can interact with the elements on those tabs even if they're not visible by using the correct instance variable.

     

    PAD.Designer_CKKp3mi1eU.pngPAD.Designer_PjaNNZ09Iu.png

     

    I tested these two Actions in Chrome which returned successful results from the 2nd tab while 3 tabs were opened and the 3rd tab in foreground the entire time.

    ~

    Just to make sure, I also tested If text on screen (OCR); and even though I expected it to fail since the necessary text was on a background tab, it actually succeeded the first few times. This really had me going for a minute! Until I realized it was identifying the target text from it's own block in the PAD Designer window itself on my second monitor... yea I'm a dummy 🤣

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard