fix(clientsidescripts): make findByCssContainingText tolerate elements with no textContent/innerText