snapshotDOM = (el, maxLength) => {
  const prettified = prettyDOM(el, maxLength);
  if (!prettified) return prettified;
  return prettified.replace(/\[\d{1,2}m/g, '');
}
@param {HTMLElement} el @param {number} maxLength