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: ElementThe fully initialized found Element.
Remarks
See Also