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 / Clicking Download Opti...
Power Automate
Answered

Clicking Download Option in each row in Web based table

(0) ShareShare
ReportReport
Posted on by 26

Hey Guys,

 

I am trying to automate downloading files for each day from a website. So this website consists of a couple of files for every day. And the table consists of files from all previous days. 

 

Now what I am looking to do is to click on download option on each row in the first two rows as the recent day is on the top. For clear understanding the download label is in the first column of the table. I am stuck at how exactly we iterate through each row and click on first column label to download. 

 

Apologies that I cannot post the image because of some concerns.

 

Thanks and appreciate your help in advance.

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    This is going to sound stupid, but once a month I download a list similar to this.  But the table is always fixed, and the number of tabs needed never changes.  So, once I am at the page, I "Send Keys" {Tab} (27 times) to the first download button and then "Send Keys" {Enter}.  Let me know if it works for you.

  • Mokshazna Profile Picture
    26 on at

    First of all after spending few months doing this RPA stuff nothing means NOTHING at all sounds funny or stupid.

     

    Now your solution did work, I can navigate to the cell using tabs. But the enter option at the end for download isn't working. Is there a way I can move my cursor to the highlighted cell and then send a click command?

     

    I appreciate your help.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I don't see an option for that.  When you tab to the button to click, does it change the image at all?  I assume it puts a dotted line around it.  This would be distinguishable enough from the other Download buttons on the page and you should be able to use "Move Mouse to Image" to click on it. 

    Soft warning on using image identification, it will typically only work on the same size and same resolution screens, so if this is something you are sharing with others who don't have the same monitor, or you are trying to use it remotely, I tend to try to avoid any image based RPA.

     

    Best of luck.

  • Verified answer
    tkuehara Profile Picture
    667 on at

    Hi @Mokshazna 

     

    If you are always clicking the same first two rows, you could try to fix an HTML tag. For example:

    tkuehara_0-1626278593981.png

    Your selectors would look something like this:

    First data row -> tr:eq(1)

    tkuehara_1-1626278913549.png

    Second data row -> tr:eq(2)

    tkuehara_2-1626279055463.png

    Or, if you really want to actually iterate those rows, leave it dynamic:

    tkuehara_3-1626279469919.png

    And loop from 1 to 2:

    tkuehara_4-1626279593304.png

     

  • Mokshazna Profile Picture
    26 on at

    Wonderful guys!!!! This was exactly I did try except for the dynamic value part. It worked like a charm. @tkuehara @MichaelAnnis  Thank you both of you. Appreciate 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard