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 / How to get the number ...
Power Automate
Unanswered

How to get the number of same web elements to determine number of search results?

(0) ShareShare
ReportReport
Posted on by 141

I have a web-based automation that provisions a user. After provisioning the user I then have to search for that user to perform additional setup. There are times when multiple results come back from the search. In selenium-based actions you can get web element(S), which returns a list of those elements. Is there a similar action in Power Automate Desktop aside from extract data from web page which builds the data table? Ultimately, I'm looking to confirm that there is only one result and then click on that result. Below is a screenshot of the search results elements that are the same. I can find them by passing :eq(x) (div#searchresults > div.search-listing.resbox.d-flex.align-items-stretch:eq(0) but I don't want to have to do an if statement on every incremental :eq value to see how many there are. 

 

CParsons09_0-1669906415114.png

Thank you!

I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 471

#2
11manish Profile Picture

11manish 246

#3
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

Last 30 days Overall leaderboard