The <prepare> element is a child of the <snapshot> element and defines a sequence of steps to be executed in preparation for the file capture or comparison. Note that these steps are executed both as a result of a <createSnapshot> or <addSnapshot> step that targets this snapshot, and a comparison run that targets this snapshot. In all cases, these steps are executed prior to capturing any files or performing any comparisons.
The <prepare> element children consist of one or more <call>, <execNative> and/or <transform> steps. No other steps are permitted. The contained steps may reference local parameters and variables declared by the snapshot block, as well as unhidden component substitution variables.