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 UI element in wi...
Power Automate
Unanswered

Click UI element in windows - Not capturing the selector.

(1) ShareShare
ReportReport
Posted on by 4
 Hi MVP's,
Iam new to Power Automate and exploring things at my end to perform the automation using PA Desktop.
Iam facing a strange issue while working on PA Desktop. For one of my automation used "Click UI element in windows" activity and trying to capture a menu item from the setting tab in chrome browser. But it is not selecting the UI element.
Please advise if there is any other activity available to fulfill my need for this automation.
FYI..Also tried with recorder but it is working for one iteration and for the 2nd iteration it is not capturing the UI element properly.
Appreciate your inputs on this strange issue.
Thanks!
Screenshot 2025-06-13 090620.png
I have the same question (0)
  • eetuRobo Profile Picture
    4,549 Super User 2026 Season 1 on at
    the selector most likely fails because it has some elements that are instance dependent. So you have captured it when certain site is open and now the selector is trying to find the button on a browser that has that site same open.

    So for example if I capture the settings icon (the three dots top right) it will take the web site title that I am currently on. So if the flow runs on different site then the selector wont find the element since it might not have the same site open


    Edit the selector like this:


    And have it only have the elements that will always be on every run instance.
    So maybe something like this:


    And then also remember to edit the window element also to work on different browser windows (not specific sites)


    So this would fail on different sites than "Click UI element in windows -Not capturing ...". SO remove that Name attribute


    Like so:


    And save and test the selector.

    Documentations to read: 
    https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors
    https://learn.microsoft.com/en-us/power-automate/desktop-flows/ui-elements
     

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 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard