snippet-from-dom-element (npm): This tool to get a snippet from the dom element. The snippet has original open-close HTML tag with attributes and truncated inner text.
Keywords: dom|html|snippet