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 / CSS Selector for two d...
Power Automate
Answered

CSS Selector for two different links with the same name

(0) ShareShare
ReportReport
Posted on by 20

I have a bit of a complex question:
I have a CSS selector to find the name of a video. Sometimes I have videos with the same name but different dates, therefore different links. The only way I can tell the links apart is from the date at the top. The problem is when I inspect the elements, these videos are not part of the div element where the date is. They are completely separated. I was thinking can I just focus my mouse on the date, and make the selector pick the link only going in a Y axis (so up and down). Do you have any better ideas?

 

FlashDota_1-1699035929252.png

 

ps: From what I know the links are exactly the same, nothing to distinguish them from one another

 

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

    Yes it is better to take date as reference in your scenario since there is nothing to distinguish 

     

    Hope this helps 

    Usha 

     

     

     

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I assume this is a web page. Have you tried using Extract data from web page to retrieve the entire table into a variable? Then iterate through the data there and use indexes for pointing at the appropriate element in the web page? If it is formatted as a table, it should be possible to use row and column indexes.

     

    But in order for us to be able to help you better, we would need to see what the selectors look like.

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

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @FlashDota 

     

    As @UshaJyothi20  said, you need to create a selector which looks after video name after date element providing it as input. 

    We have to design such a selector. For that please share HTML structure of a the ui element, using JQuery approach we can help in building the selector

     

    Also try the approach as suggested  by @Agnius  as well, try to figure out the html selector of table and since columns name i think is dates may be that won't be static as always so best possible approach would be add the selector of table while extracting table from webpage and use it to extract data 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

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 269 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 184 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard