RemoteWebDriverFindElementByLinkText Method WebDriver
Finds the first of elements that match the link text supplied

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

public IWebElement FindElementByLinkText(
	string linkText
)

Parameters

linkText
Type: SystemString
Link text of element

Return Value

Type: IWebElement
IWebElement object so that you can interact that object

Implements

IFindsByLinkTextFindElementByLinkText(String)
Examples

IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox());
IWebElement elem = driver.FindElementsByLinkText("linktext")
See Also

Reference