Match a link by part of its text
Automation taskEasyAsked in: Accenture, Capgemini, Infosys, TCS, Wipro
A common follow-up: "The link text has a changing count, like Inbox (12). How do you find it?" Partial link text matches a fixed part of the text, such as Inbox, and ignores the rest. Here you find two links by a fixed part of their text and print each full link text.