WaitForStateValidator
The check performed by the connector to see whether the page has finished loading. All of these checks are performed on an element or attribute that is chosen by WaitForStateSelector, and optionally WaitForStateAttribute.
Set this parameter to one of the following values:
Present
- The element or attribute must exist. For example, if JavaScript is used to load part of a page, you could check for its presence.NotPresent
- The element or attribute must not exist. For example, if a "loading" icon is initially displayed, you could check that it has been removed from the page content.ValueMatches
- The value of the element or attribute must match the regular expression specified by WaitForStateMatcher. For elements, the regular expression is applied against the inner HTML of the element.PlainTextValueMatches
- The value of the element or attribute must match the regular expression specified by WaitForStateMatcher. For elements, the regular expression is applied against the inner text of the element (HTML markup is removed).
Type: | String |
Default: | Present |
Required: | No |
Configuration Section: | Any section specified by WaitForStateSections, TaskName, or FetchTasks |
Example: | WaitForStateAttribute=NotPresent
|
See Also: |