Click or drag to resize
BaseComponentGetDisplayedElement Method
Get the displayed IWebElement using the provided xPath.

Namespace: Blackbaud.UAT.Base
Assembly: Blackbaud.UAT.Core (in Blackbaud.UAT.Core.dll) Version: 1.0.1304.1 (1.0.1304.1)
Syntax
public static IWebElement GetDisplayedElement(
	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
An IWebElement if a valid element is found. A WebDriverTimeoutException is thrown is no element is found.
See Also