How to get the CSS selector code for a component?

I have received a component library. I have to use its CSS for the relevant components in our webb-app. I go to “checkbox”. I right-click on it and choose “copy as CSS”. The CSS for all the states of a checkbox is then copied. But it is just the CSS declarations with their properties and values. The CSS selectors are missing. Is there any way to also get the CSS selectors from Figma?