Selecting an anchor link with content, such as <a>test link</a>, I can see three different ways to do it using XPath:
a[text()="test link"]
a[.="test link"]
a[contains(text(), "test link")]
What are the differences between the three? The last option appears that it would take longer by virtue of it being an extension of the first.