JavaScript

Maestro supports a minimal subset of vanilla JavaScript APIs with some purpose-built Maestro extensions. Though none of the functions that allow interaction with the OS are available (i.e. there is no access to the filesystem), those scripts offer just enough functionality to write more sophisticated conditions or make HTTP requests.

Currently, Maestro by default uses the Rhino JavaScript runtime to execute JavaScript, which has very limited modern JavaScript support. For a full list of API compatibility, please refer to this compatibility table.

Maestro also supports an alternative JavaScript runtime – GraalJS. We intend to make GraalJS the default soon and then deprecate and remove Rhino. We recommend everyone to opt-in to use GraalJS.

Learn more about GraalJS support.

Last updated