RemoteWebDriverFindElementByName Method WebDriver
Finds the first of elements that match the name supplied

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

public IWebElement FindElementByName(
	string name
)

Parameters

name
Type: SystemString
Name of the element on the page

Return Value

Type: IWebElement
IWebElement object so that you can interact that object

Implements

IFindsByNameFindElementByName(String)
Examples

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

Reference