BrowserWaitForElement Method (HtmlFindExpression, Int32, Boolean)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Wait for an element to exist. If it exists, return the Element object, else will throw a Timeout Exception.

Namespace:  ArtOfTest.WebAii.Core
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public Element WaitForElement(
	HtmlFindExpression expression,
	int timeout,
	bool invertCondition
)

Parameters

expression
Type: ArtOfTest.WebAii.CoreHtmlFindExpression
The HtmlFindExpression
timeout
Type: SystemInt32
The timout to use. (msec)
invertCondition
Type: SystemBoolean

Return Value

Type: Element
The fully initialized found Element.
Remarks

This method replaces the Actions.WaitForElement() and supports HtmlFindExpressions
See Also

Reference