RemoteWebElementFindElementsByLinkText 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 ReadOnlyCollection<IWebElement> FindElementsByLinkText(
	string linkText
)

Parameters

linkText
Type: SystemString
Link text of element

Return Value

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

Implements

IFindsByLinkTextFindElementsByLinkText(String)
Examples

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

Reference