Finds the first element matching the specified tag name.
Namespace: OpenQA.Selenium.InternalAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
IWebElement FindElementByTagName( string tagName )
Parameters
- tagName
- Type:
System String
The tag name to match.
Return Value
The first IWebElement matching the criteria.See Also