RemoteWebElementFindElementsByName Method WebDriver
Finds a list of elements that match the name supplied

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

public ReadOnlyCollection<IWebElement> FindElementsByName(
	string name
)

Parameters

name
Type: SystemString
Name of element

Return Value

Type: ReadOnlyCollectionIWebElement
ReadOnlyCollect of IWebElement objects so that you can interact that object

Implements

IFindsByNameFindElementsByName(String)
Examples

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

Reference