Copy js path option

It would be nice if there was a copy js path option in the dev element explorers context menu like chrome has.

1 Like

I wasn’t sure what it was so I looked into it. It does return a document.querySelector expression with what seems to be the equivalent of our CSS path entry
It also handles element in shadow roots (producing something like document.querySelector("body > ntp-app").shadowRoot.querySelector("#logo"))

Not sure if they also handle iframes