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