taking screenshots of a webpage and its components is one of the key steps for proper product design and development.
here is the trick 👇
open the developer console of the web page you want to take screenshot.
choose the element and right click "Capture node screenshot"
you can whether take a screenshot of a full page or individual component/element with this mechanic