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 / Dynamic content on lis...
Power Automate
Unanswered

Dynamic content on listbox

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

I am trying to get the name of the elements of a list of boxes using the action Get details of elements on web page of Power Automate Desktop, passing the CSS selector with the position of each element in a dynamic way (using a variable indicating its position inside the list).

 

The problem is about that those elements are added or removed from the list while the scroll of the list is moved up or down and the same way, the position number inside the list of each element isn't fixed and it depends on the position of the scroll bar.

 

Thanks in advance,

Axel

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I imagine some use of "Add to List" where you pull these in, in order.  Forget about the position given to you by the CSS, but rather, use the index of your list to indicate their position.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Michael.

     

    Thanks for your answer.

     

    What do you mean with "Add to List" ?

     

    Br,

    Axel

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I was saying that, if you are successfully extracting the name of the selection options, find a way to add that to your own created list using the "add to list" command; so it would look like this:

     

    Launch Browser to URL

    Create New List

    Extract Web Data

    Add to List

    Scroll Down (in Web)

    Extract Web Data

    Add to List

    so on and so forth until you can't scroll down anymore, and then reference your list to choose the CSS for the rest of your bot.

     

    Good luck.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi again Michael.

     

    Got it.

     

    One thing that I didn't mention, I  need also the position of the element, because I need after on to click on some checkboxes related to the element.

     

    Another thing, the scroll down failed after one click..

     

    Thanks again

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
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard