Hello I have a parent element with the ID contacts that element has a child element that contains the text "hello" I would like to find that child element as a child of the element having the ID contacts. This is because "hello" occur on several places on the page but I only the want the "hello" that has contacts as parent.
Example of what I mean:
"//*[@id='contacts']/[contains(text(),'hello')]"
This does not work sadly