In for Firefox, you can inspect an element as you describe, and then copy either the Firebug or XPath. This gives you the entire path you need right from Css Path down to the specific element.html
For example say you are inspecting a link with id . You can copy the Css Path to get something like:myLink
html body form table.myTable tr td a#myLink
Chrome has this functionality out of the box in the DevTools - see CSS Media Type Emulation.
There is a CSS file name near the selector ( for example)primary-unified-...

Maybe there isn't. From my experince, if the class start with it means that it meant for handling js selectors. Something like: js-...document.querySelector('js-paste-markdown').addEventsListener
And you can see it in their code. For example, the class :js-saved-reply-shortcut-comment-field

See this tutorial: https://philipwalton.com/articles/decoupling-html-css-and-javascript/ (Search for )js-*