Table of Contents

Interface IFindsByName

Namespace
OpenQA.Selenium.Internal
Assembly
WebDriver.dll

Defines the interface through which the user finds elements by their name.

public interface IFindsByName

Methods

FindElementByName(string)

Finds the first element matching the specified name.

IWebElement FindElementByName(string name)

Parameters

name string

The name to match.

Returns

IWebElement

The first IWebElement matching the criteria.

FindElementsByName(string)

Finds all elements matching the specified name.

ReadOnlyCollection<IWebElement> FindElementsByName(string name)

Parameters

name string

The name to match.

Returns

ReadOnlyCollection<IWebElement>

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