This is simple DevTools snippt that uses TreeWalker to find textNodes, and then we parse what font styles are in use on that node with getComputedStyle.
Note, this won't travel the ShadowDOM which is it's own can of worms.
function findTextNodesFor(element){
let node;
const discoveredTextNodes = [];