Didacticials

  • To begin
  • Make Automations [comming soon]
  • Make Didacticials or Presentations [comming soon]

Instructions

  • goTo
  • click
  • wait
  • message
  • for
  • alert
  • ifexists / ifnotexists
  • whileExists
  • audio
  • exit

Links

  • Download Zenith
  • jQuery's Selectors

About Zenith

  • Credits and Thanks
  • Binairies Sources

exit

Description

Terminate the execution of the whole script.

Syntax

Needed pairs :

  • Either :
    • "exit" : "Your message before exit"

Additionnal explanation

Details about the arguments :

  • {"exit":false} : Terminate without message

Example

This 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.