support getting all links that have certain inner text

bugz: 27573