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 / Extract data from web ...
Power Automate
Answered

Extract data from web page returns single element

(0) ShareShare
ReportReport
Posted on by 19

I'm trying to use the "Extract data from web page" to get a list of div titles. For some reason the component returns only the first element from a list and I can't understand why it is happening, that's why I need help or suggestions to solve this issue

 

I checked selectors for all the elements and the structure is exactly the same (but the IDs, titles etc are different, which should be OK)

  • div[Class="wrapper"] > div > div[Id="generalTab"]
  • div[Class="wrapper"] > div > div[Id="otherTab"]

 

"Extract data from web page" settings:

  • Base CSS: div[Class="wrapper"] > div
  • CSS: div [tried also with Class!="separator", same result]
  • Attribute: id [for testing purposes]

 

I cannot share the website, but here is the HTML tree. it is not loaded dynamically, all elements are displayed

...

<div class="wrapper">

 <div>

  <div id="generalTab" title="General">...</div>

  <div class="separator"></div>

  <div id="otherTab" title="Other">...</div>

  ...

 </div>

</div>

...

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @Ihor_OD 

    I'm still not entirely clear on the requirement. If feasible, could you please take a screenshot of your HTML element by pressing F12 as shown below? Then, highlight the data you wish to extract from the webpage (ensuring all sensitive information is hidden) and also share your flow screenshot too if possible?

    Deenuji_0-1708957543217.png

     

     

  • Verified answer
    kinuasa Profile Picture
    803 Most Valuable Professional on at

    I suggest that you make sure that you have the Extract option set to "List" in the Live web helper of the Extract data from web page action.

     

    PAD_Extract data from web page action.png

  • Ihor_OD Profile Picture
    19 on at

    Wow, the only difference is that you put the list item div inside Base CSS, it worked for me!

    I thought the "Base CSS" is used to specify the parent element and "CSS Selector" for list items..

     

    Thank you so much for your help!

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard