Click or drag to resize
BaseComponentExists Method
Checks if a displayed element exists using the provided xPath selector.

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 bool Exists(
	string xPath,
	double secondsToWait = -1
)

Parameters

xPath
Type: SystemString
The xPath selector to find an element with.
secondsToWait (Optional)
Type: SystemDouble
The time to spend looking for the element. Defaults to TimeoutSecs.

Return Value

Type: Boolean
True if a valid element is found within the time to wait, false otherwise.
See Also