How can I find all tags that have text "world"?
<c>
<a>
<b>hello</b>
world
</a>
</c>
Expected result should be tag 'a'.
I am trying //a[contains(text(),'world')]
but it doesn't give anything.
This 'a' tag is kind of mix of text and another tag.