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 / Capture UI elements in...
Power Automate
Unanswered

Capture UI elements in a web pop up window

(0) ShareShare
ReportReport
Posted on by 11

Hi community, 

 

I am currently using Power Automate Desktop trying to capture the UI elements from a web pop-up window so that I could do the data entry tasks on web. How does Power Automate Desktop handle that? The pop up window will appear after I click a button on the main web page, and the pop up window itself have another URL, but I have to do the data operation in the pop up window , instead grabbing the pop up window URL and open a separate browser. In the pop up window, I have to do populate the text field, click the checkbox, and lastly hit a "submit button', then the pop up window should disappear. Is it possible to do that with the PAD? Thank you!

I have the same question (0)
  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Yes it is.

  • Gidi Profile Picture
    601 on at

    You can try to see the how to get this done by recording these steps. Usually you need to get the Window and create a new browser instance (attach it to browser in PAD). With this you can access the fields on the pop-up window. 

  • cwang18 Profile Picture
    11 on at

    Hello @Gidi, thanks so much for the information. As I am very new to Power automate, I am wondering if you could expand it a little bit. I found the 'get window' only capture the local computer but not necessary a web page. I tried this tool but it seems it still can't detect the UI element. As in my case, the popup window has a URL string, but I had to do all the operations within the pop up, which can't be copied and pasted into a new browser to do the operations. Any helps will be greatly appreciated! 

    cwang18_0-1675048826529.png

     

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Hi @cwang18 

    Get window is UI automation, not Web automation; hence it recognizes the actual browser window, not elements in the page.

     

    My approach to similar automation is below (if page allows such scenario).

     

    1. On the "main" browser tab:  Get the URL triggered by the button (instead of clicking the button)

    2. Once you have the URL in the variable, open a new tab and browse to the captured link. This allows you to create a browser instance variable that allows you to automate it.

    3. Once the page is open - automate whatever you need to accomplish on that page.

    4. Close the tab and switch to the "main" browser tab.

    5. Loop through steps as necessary.

     

  • cwang18 Profile Picture
    11 on at

    Thanks everyone for your advice. I have successfully solved the issue - I have attached the pop up window to the main browser and then was able to capture the UI

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard