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 / Click Unique Button on...
Power Automate
Answered

Click Unique Button on Pop Up window via PAD

(0) ShareShare
ReportReport
Posted on by 16

I need PAD to be able to click an "Export to Excel" button on a pop-up window (I cannot use a specific URL because it changes daily and is only accessible by clicking on a link on the original reports page and then copying it from the URL bar in the pop-up window....this too cannot be accomplished by PAD without PAD being able to interact with the pop-up window). 

It seems as though this problem is rooted in PAD being unable to identify and subsequently "work with" the new pop-up window because no "name" (e.g. %Browser2%) has been assigned to this new (pop-up) window. 

Is there a Web Browser Instance name (like %Browser2%) that can be used as a default option to make PAD work with the "active" (foreground) window/browser (i.e. the window that pops-up)?
I was hoping there would be something like %ActiveBrowser% or %ActiveWindow% or %ActiveGoogleChrome% or something like that?


edit: I would also like to be able to close the pop-up window once I've exported the data, but this too requires you to provide a "web browser instance."

I have the same question (0)
  • LogicSmith Profile Picture
    225 on at

    Have you treated it as a UI element rather than a browser element? You might be able to see it as a UI element, so take a look at action UI Automation / Click UI Element in Window. Or UI Automation / Form-filling / Press Button in Window.

  • mtaylor7010 Profile Picture
    16 on at

    When I reach the "Click UI element in window" action in my flow, the browser brings the original browser window to the foreground and the action fails. 

    mtaylor7010_0-1654689409609.png

     

  • mtaylor7010 Profile Picture
    16 on at

    The same thing happens when I use "UI Automation / Form-filling / Press Button in Window"

    mtaylor7010_0-1654689826549.png

     

  • Verified answer
    mtaylor7010 Profile Picture
    16 on at

    I got it!!

    I just use the "Launch New Chrome" (see reference image below & explanation image at the bottom)
    I was able to use the "foreground window" because when the pop-up opens, it becomes the new foreground window.

    mtaylor7010_2-1654691089955.png

     

    mtaylor7010_1-1654691030194.png

     

  • LogicSmith Profile Picture
    225 on at

    That's actually brilliant! Totally shows the value of out of the box thinking. 

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 482

#2
11manish Profile Picture

11manish 280

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard