Table of Contents

Interface IFindsByLinkText

Namespace
OpenQA.Selenium.Internal
Assembly
WebDriver.dll

Defines the interface through which the user finds elements by their link text.

public interface IFindsByLinkText

Methods

FindElementByLinkText(string)

Finds the first element matching the specified link text.

IWebElement FindElementByLinkText(string linkText)

Parameters

linkText string

The link text to match.

Returns

IWebElement

The first IWebElement matching the criteria.

FindElementsByLinkText(string)

Finds all elements matching the specified link text.

ReadOnlyCollection<IWebElement> FindElementsByLinkText(string linkText)

Parameters

linkText string

The link text to match.

Returns

ReadOnlyCollection<IWebElement>

A ReadOnlyCollection<T> containing all IWebElements matching the criteria.