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 / Extracting Data From a...
Power Automate
Answered

Extracting Data From a web page - Need Help Please

(0) ShareShare
ReportReport
Posted on by 431

I would like to extract data from a web page. A list would be ok. I want to extract links into a list and then iterate through them, clicking each one. I couldn't get what I wanted from the Helper Wizard so I used the recorder to click on 6 links, each in a different row (same column). Looking at the recorder output the selectors were:

a[Id="lnkImage"]:eq(0)
a[Id="lnkImage"]:eq(1)
a[Id="lnkImage"]:eq(2)
a[Id="lnkImage"]:eq(3)
a[Id="lnkImage"]:eq(4)
a[Id="lnkImage"]:eq(5)

 

When I looked at the structure in Google Inspector the last 3 were actually In a "child" table inside the main table but it didn't seem to matter to the recorder.  (3,4,5 were children of link 2)

So my issue is I'm not sure how to fill out the table wizard to put these into the selector table wizard. 

I think the structure is 

<table>

  link1

  link2

  link3

    <table>

        link4

        link5

         link6

    </table

</table>

 

I may need two for each loops, but for now I would be happy to just extract the links in the master table. So I'm trying to figure out how to fill out the helper table. 

 

I think the base URL is

 

div[Id="ctl00_ContentPlaceHolder1_pnlDocumentsBody"] > div > table

 

TIA

 

 

 

 

I have the same question (0)
  • Steve48 Profile Picture
    431 on at

    here is screenshot of helper wizard. I forgot to include it.

    blank wizard.png
  • Verified answer
    Steve48 Profile Picture
    431 on at

    I think this worked.  The CSS selector was  a[Id="lnkImage"]

    It extracted all the links, even those in the child table

     

     

    Getting links from detail page.png

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 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard