text = """<html>
    <body>
        <a href="/1234.html">TEXT A</a>
        <a href="/3243.html">TEXT B</a>
        <a href="/7445.html">TEXT C</a>
    <body>
</html>"""
root = LH.fromstring(text)
e = root.xpath('.//a[text()="TEXT A"]')
How to use lxml to find an element by text?