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 a dynamic hyperl...
Power Automate
Unanswered

Click a dynamic hyperlink in PAD

(0) ShareShare
ReportReport
Posted on by 8

I’m wanting PAD to check a webpage and click on the hyperlink that is labeled with the name of the new hire.  I am unable to account for the dynamic hyperlink.  A screen shot of the web page and the HTML is attached. 

 

 

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I would suggest using the Extract data from web page action to extract both the names and the hyperlinks behind the names. This will return a table. You can then use the Find or replace in data table action to find the row index of where the name that you are looking for is. When you do that, you can use the hyperlink in a Go to web page action to open the page. No need to click the element itself at all.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution.
    If you like my response, please give it a Thumbs Up.

    If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/

     

  • dougowens Profile Picture
    8 on at

    I dont think that's exactly what I need.   The position of the first row of data is always the same, but the Name (Title) and the GUID for the hyperlink will change.   I need to look at the top row of data.  If the name under the start date is "Julia Sugarbaker" then I need to click on the Name and interact with a following pop-up.  

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The <li> element is the parent for each person that you might want to click on. If you get the index of the one you want to click on via using Extract data from web page (to extract all names) and then Find or replace in data table (to find the name you are looking for in the table you extracted), you can pass that as a variable to your selector. 

    Do li:eq(%index%) to set an ordinal value using a variable called %index%.

     

    Of course, you need to click on one of the child elements of the <li> element. So, you need to capture the actual element you want to click and then modify its selector so that the <li> part depends on which item you want to click on.

    See here for reference on how to add variables to selectors:  https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors#use-variables-...

    Also watch this video on building dynamic web selectors: https://youtu.be/2PcyBa22Jj8

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution.
    If you like my response, please give it a Thumbs Up.

    If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard