DidacticialsInstructionsLinksAbout Zenith |
exitDescriptionTerminate the execution of the whole script. SyntaxNeeded pairs :
Additionnal explanationDetails about the arguments :
ExampleThis will terminate the script if the element "#element" (cf play area below) is not visible, or else go to the element.
{
"debug":true, "do":[
{"ifnotexists":"#element:visible",
],"then":[
{"exit":"the element is not visible, and can not be reached. "}, ]}, {"goTo":"#element:visible"} }
Play Area#element
|
© 2009 the Zenith Team.