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

whileExists

Description

Execute sub-instructions while at least one element specified by a selector exists

Syntax

Needed pairs :

  • Either :
    • "whileExists" : "selector"
    • "whileNotExists" : "selector"

Example

This will click on each number on the play area.


{
   "debug":true,
   "do":[
{"whileExists":".number:visible:first",
  "do":[
{"goTo":".number:visible:first"},
{"click":"l"},
{"wait":500},
  ]
},
{"goTo":"#reset"},
{"click":"l"},
{"wait":1000},
   ],
}

    

Play Area

© 2009 the Zenith Team.