DidacticialsInstructionsLinksAbout Zenith |
forDescriptionBrowses each element in a group of elements specified by a selector. In the sub-instructions, the current element is specified by the variable given at "for" SyntaxNeeded pairs :
options that can be added :
Additionnal explanationDetails about the arguments :
ExampleThis Example will click on all links on the left menu, and go back to this page
{
"debug":true, "do":[
{"for":"$a",
{"goTo":"#left_menu a[href$='for.php']"},
{"click":"l"},
{"wait":"while loading"},
],"in":"#left_menu a[href^='/']", "options":"reload reverse", "do":[
{"goTo":"$a"}, ]{"click":"l"}, {"wait":"while loading"}, }, }
|
© 2009 the Zenith Team.