I think here the locator should be <code>.grid-profile-text>h6</code> because the search term could be in the second-child as well.