IFilterFunction FilterElements Method WebDriver
Filters elements by the specified criteria.

Namespace: Selenium.Internal.SeleniumEmulation
Assembly: Selenium.WebDriverBackedSelenium (in Selenium.WebDriverBackedSelenium.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

IList<IWebElement> FilterElements(
	IList<IWebElement> allElements,
	string filterValue
)

Parameters

allElements
Type: OnlineSystem.Collections.Generic IList IWebElement 
A list of all elements to be filtered.
filterValue
Type: OnlineSystem String
The filter string containing the criteria on which to filter.

Return Value

A list of element, filtered by the criteria.
See Also