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 / UI Element Text for Ge...
Power Automate
Answered

UI Element Text for Getting href value

(0) ShareShare
ReportReport
Posted on by 5

What would the UI Text be for selecting the href text for an <a> element?

 

...

<a class="userCardTitle textWrap customMultilineClip ng-tns-c3136146548-5"
aria-label="View match for xxxxxxxxx" href="/discoveryui-matches/compare/21343F8/with/649BA7B8"> xxxxxxxxx </a> 

...

 

div[Class*="matchEntry"]:eq(%Num%) div[Class*="userCardContent"] a[???]???

 

 

I have the same question (0)
  • eetuRobo Profile Picture
    4,556 Super User 2026 Season 1 on at

    Maybe something like this: div[Class*="matchEntry"]:eq(%Num%) > div[Class*="userCardContent"] > a[Href="/discoveryui-matches/compare/21343F8/with/649BA7B8"]

  • jes5026 Profile Picture
    5 on at

    thanks, unfortunately I am looking to get the Href string. I couldn't include the string with my text...   how would a jquery like:  $(this).attr('href') be coded in Power Automate?

  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at

    @jes5026 

     

    To retrieve the href value of an anchor link, utilize the "Get details of element on web page" action.

     

    Please consult the provided screenshot for reference, where you can employ a similar action to capture the anchor element as your UI element.

     

    Deenuji_0-1715572550014.png

     

    Output:

    Deenuji_1-1715572707667.png

     

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

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 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard