To be 100% sure you are clicking the a this can be `//li[@class='c//li[@class='contact-item']/a[p[contains(@data-search, '%s')]]`

That is the a but with a p child