WebDriver will not be able to get the link text. For Windows, you can use the Windows Automation API to clear text, other operating systems probably have similar APIs that you could use, but the short answer is that WebDriver will not be able to do this.
source share