Why not just test el.textContent ?