Initializes a new instance of the SelectElement class.
Namespace: OpenQA.Selenium.Support.UIAssembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public SelectElement( IWebElement element )
Parameters
- element
- Type: OpenQA.Selenium IWebElement
The element to be wrapped
Exceptions
Exception | Condition |
---|---|
![]() | Thrown when the IWebElement object is |
OpenQA.Selenium.Support.UI UnexpectedTagNameException | Thrown when the element wrapped is not a <select> element. |
See Also