Legit one of the most underrated Firefox features that I use all the time: right-click -> Take Screenshot (or Ctrl+Shift+S). No need to look up the relevant node, just hover the relevant part with your cursor.
That doesn't align itself to the dimensions of an element. The screenshot thingy even allows you to screenshot past the visible area for scrollable pages