Validate
Takes a script that returns an array of HTML elements, and ensures at least one element is selected. If not, it will reset the browser and run the preceding steps to put the browser back into the current state until the script selects any elements.
Syntax
State.Validate
ยท [script]
Parameters
- script
- A script that returns an array of HTML elements. The script can be automatically created in the Scripts section of the Scripting category the same way selectors are created.
Remarks
The delay between each retry and the maximum number of retries can be set using the Element Timeout and Max Retries project settings.