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 / Specifically click on ...
Power Automate
Unanswered

Specifically click on the icon on first row x column in a webpage table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi folks,

 

Would need advices on

(i) how to have Power Automate desktop to wait for the excel icon on the FIRST row to be available

(ii) how to have Power Automate desktop to click on the excel icon on the FIRST row

 

while the ID is randomized in each run

 

Cs94_2-1701483210672.pngCs94_3-1701483224775.png

 

 

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

    (I).Use wait for web page content activity or wait for window content activity.

    (2) Try with get details of the element in webpage and then use click activities

    if not worked 

    Use press button on web page or window activities

    Please let me know if that worked 

     

    Usha

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You will likely need to modify the selector to target an element in tr:eq(0) (row 1) and td:eq(5) (assuming it is column 6, as that's how many I can see there). If you could right-click the element in the browser and inspect it via the browser developer tools, we may be able to suggest the specific selector you need.

     

    See here for reference on modifying selectors: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors

    Also here: https://www.youtube.com/watch?v=2PcyBa22Jj8&ab_channel=Thomas%22Shaky%22Petersen

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

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    Below is element in the browser for the excel icon that I want to click on (first row).

     

    Should you need more information in order for you to advise further, feel free to let me know.

     

    Thanks!

     

    Cs94_2-1701525207439.png

     

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You should include more of the entire page hierarchy in the screenshot. It was already quite obvious that it's an element within a <td> element. But it doesn't really tell me which <td> it is, or which <tr> (table row) it is, as it's not visible in the screenshot.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Agnius ,

     

    Is below screenshot what you are looking for? I have tried to input the element as below; however, it doesnt work.

    Cs94_0-1701943061094.png

     

    Below I tried to screenshot wider hierarchy. Much appreciate if you could advise further. Thanks!

    Cs94_1-1701943241202.png

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Okay, so it seems like it's not the first row, because there is one more <tr> element above it that's "hidden". And the column is not actually 6th, but 8th.

     

    So, your selector should end with 

    tbody > tr:eq(1) > td:eq(7) > a

      tr:eq(1) will target the 2nd row (indexes are 0-based) and td:eq(7) will target the 8th column.

     

    You could also use a more appropriate parameter for targeting the correct column like this:

    tbody > tr:eq(1) > td[aria-describedby="AvailableReportsResults_Format"] > a

     

    That's because the columns do actually have properties that are unique for each column.

    But you still need to target the row by using it's index.

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

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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
David_MA Profile Picture

David_MA 261 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 185

#3
Haque Profile Picture

Haque 168

Last 30 days Overall leaderboard