Can I DevTools?
Elements
Edit

In the Elements tab, right click on the element in the DOM tree > Copy > Copy selector.