Are there any plugins or extensions based on VS Code or browsers that can help us effectively obtain the selector of the target?

Are there any plugins or extensions based on VS Code or browsers that can help us effectively obtain the selector of the target? Just observing through the browser’s F12 mode and trying feels very inefficient. It requires a lot of back-and-forth attempts to successfully find a suitable selector expression.

Library : Browser

Hope this helps