web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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
    203 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard