Capturing a screenshot of an HTML element
Ever come across a website you want screenshot but the content spans two pages? Or perhaps you don't want to go through the hassle of editing and cropping the screenshot to isolate the small piece of content on the page that is useful. Well look no further, here is a simple tip on how to capture the content of a specific element only.
Firefox
- Right click the element on the page and choose Inspect Element (Q)
- Hover over the tree of elements and ensure that all of the content you want is masked
- Right-click the element and choose Screenshot Node
- Check your downloads folder for the saved image.
Chrome
- Right click the element on the page and choose Inspect
- Hover over the tree of elements and ensure that all of the content you want is masked
- Open the command menu by typing
Ctrl+Shift+P
- Type in
Node
and select theCapture node screenshot
command - Check your downloads folder for the saved image.
Conclusion
This has been useful to me, i hope it is to you too. If you have any other tips hit me up in the comments.