Even nicer: `element.textContent.toLowerCase().contains(pattern)`