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 / webscraping click on s...
Power Automate
Unanswered

webscraping click on span based from a label

(0) ShareShare
ReportReport
Posted on by 117

ho to all i have a table  with this structure

<td>

 <span class="indenter" style="padding-left: 0px;"><a href="#" title="Collapse">&nbsp;</a></span>
 <span id="sportname_9999" style="font-size: 11px;" class="text_black">MARCATORI</span>
</td>

I want search form string "marcatori" and then click on the previous span to access to the href

vincenzos1984_1_0-1699206839387.png

 

thanks in advance

 

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    Us get details from the web page and extract the data which you need to click then use click activity

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You cannot use a sibling element relation in a selector. I can see that this is a table, so, in order to do what you want, I would suggest using Extract data from web page, to extract the entire table. Then use Find or replace in data table to find the row index for the row with "MARCATORI" and then use that index in the selector for the button you want to press.

     

    See here for more reference on how to use variables in a selector: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors

    Also this video: https://www.youtube.com/watch?v=2PcyBa22Jj8&ab_channel=Thomas%22Shaky%22Petersen

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 271 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 171 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 148 Super User 2026 Season 2

Last 30 days Overall leaderboard