 | BaseComponentGetEnabledElement Method |
Get the first found IWebElement based on an xPath that is Displayed AND Enabled.
If no element is found, a WebDriverTimeoutException is thrown.
Namespace: Blackbaud.UAT.BaseAssembly: Blackbaud.UAT.Core (in Blackbaud.UAT.Core.dll) Version: 1.0.1304.1 (1.0.1304.1)
Syntaxpublic static IWebElement GetEnabledElement(
string xPath,
double waitTime = -1
)
Public Shared Function GetEnabledElement (
xPath As String,
Optional waitTime As Double = -1
) As IWebElement
public:
static IWebElement^ GetEnabledElement(
String^ xPath,
double waitTime = -1
)
Parameters
- xPath
- Type: SystemString
The xPath selector to find an element with. - waitTime (Optional)
- Type: SystemDouble
The amount of time to search for the a valid element. Default time is TimeoutSecs.
Return Value
Type:
IWebElement[Missing <returns> documentation for "M:Blackbaud.UAT.Base.BaseComponent.GetEnabledElement(System.String,System.Double)"]
See Also