RemoteWebDriver FindElementsByLinkText Method WebDriver
Finds a list of elements that match the link text supplied

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

public ReadOnlyCollection<IWebElement> FindElementsByLinkText(
	string linkText
)

Return Value

ReadOnlyCollection<IWebElement> object so that you can interact with those objects

Implements

IFindsByLinkText FindElementsByLinkText(String)
Examples

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