v3.0.0
3.0.0 (2019-07-21)
Bug Fixes
- Accept also top/left offset as parameters for the
scroll
instruction (77acc55) - Report unknown instructions as errors (f9e1d9a)
Features
- Add a new instruction
focus
to focus an element (2df4191) - Add instructions for while, until and repeat loops (4c8b597)
- Introduce a new instruction
break
to interrupt a loop (e334603) - Make a snapshot and/or a screenshot in case of failure automatically (e313678)
BREAKING CHANGES
- If you include a key in your command object, which is not recognized as an instruction or other known key (file, options), the task execution will fail.
Earlier you could put any key to a command object. You could use it as a comment or to store any other data there. Unfortunately, it lead to mistakes like typos in instruction names, which were difficult to detect. From now on, only recognized keys are allowed to appear in commands. You can use JavaScript comments to explain what a particular command or instruction does in your scenario.