ByLinkText Method WebDriver
Gets a mechanism to find elements by their link text.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public static By LinkText(
	string linkTextToFind
)

Parameters

linkTextToFind
Type: SystemString
The link text to find.

Return Value

Type: By
A By object the driver can use to find the elements.
See Also

Reference