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 full CSS se...
Power Automate
Answered

How to get full CSS selector path ?

(0) ShareShare
ReportReport
Posted on by 70

In Chrome or Firefox when I right click and choose to copy selector I get something like this:

 

 

 

div.col-lg-6:nth-child(1) > p:nth-child(23) > a:nth-child(1)

 

 

 

While in power automate the CSS selector start with html, body like this

 

 

 

html > body > div > div:eq(1) > div > div:eq(4) > div > div:eq(1) > div > div:eq(0) > p:eq(21)

 

 

 

How I get full CSS selector path from any browser that is compatible with power automate ?

 

  • Verified answer
    momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Copy selector gives you the smallest of data allowing to identify the element.

    So technically, this is usually what will allow PAD to identify the element too if you use it instead of a selector identified by PAD.

    So this is not the PAD's selector is better. It simply does it a little differently.

     

    If you want to copy the full selector using dev tools in the browser, then experiment with options other than "copy selector," such as copy Full XPath, but I'm not sure what you want to achieve.

     

  • zin45 Profile Picture
    70 on at

    In extract data some time I need to modify the CSS selector here in advanced dialog but copy selector work fine as you said , thanks

     

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

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

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard