This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if the element exists, returns the innerText, otherwise an empty string | |
function getInnerText(ele) { | |
if (ele) { | |
return ele.innerText; | |
} | |
return ""; | |
} | |
// executes the query selectors and builds the output |