Skip to main content

Notifications

Community site session details

Community site session details

Session Id : lStKreqvgdUUk928gzuTqj
Power Automate - Power Automate Desktop
Unanswered

Extracting data from dynamic selectors

Like (0) ShareShare
ReportReport
Posted on 13 Apr 2023 05:24:14 by 30

Hello Everyone,

I'm trying to extract data from a table in a web page. The text that I want to extract changes on daily basis. How can we extract data from a dynamic selectors.

Is there any way we can use wild cards just like we use in uipath to make the selector dynamic.

Karthik23_0-1681363254026.png

Here is the image of the selector, I'm trying to extract the number 1519 and as the number is not stable and changes on daily basis I want to replace the number with wildcard. 

Any leads or help is much appreciated.

  • Pavel_NaNoi Profile Picture
    1,072 on 14 Apr 2023 at 11:03:22
    Re: Extracting data from dynamic selectors

    Uh guys, just untick the "Text" box, that way it will always get the text via a "Get details of element on webpage" since the ID value is what determines what cell it needs to extract from, this will always extract text from that cell.

     

    Unless I've misunderstood something?

  • Nived_Nambiar Profile Picture
    17,519 Super User 2025 Season 1 on 13 Apr 2023 at 12:58:27
    Re: Extracting data from dynamic selectors

    Hi @Karthik23 

     

    Try this way it would work 

    Nived_Nambiar_0-1681390700966.png

     

     

  • Karthik23 Profile Picture
    30 on 13 Apr 2023 at 08:54:13
    Re: Extracting data from dynamic selectors

    Hi Nived,

    Thank you for the solution. Now the bot is not throwing the unable to find the ui element exception. However no data is being extracted when I use regex. but If the value of the text is left as it is then I'm able to extract it.

  • Nived_Nambiar Profile Picture
    17,519 Super User 2025 Season 1 on 13 Apr 2023 at 06:06:02
    Re: Extracting data from dynamic selectors

    Hi @Karthik23 

     

    Give a try simmilar to below 🙂

     

    Nived_Nambiar_0-1681365954204.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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard