Run JavaScript in Maestro Flows
Run JavaScript in flows with runScript or evalScript, passing parameters and returning values.
Inject
appId: com.example
env:
MY_NAME: John
---
- launchApp
- inputText: ${1 + 1} # Inputs '2'
- inputText: ${'Hello ' + MY_NAME} # Inputs 'Hello John'
- tapOn: ${MY_NAME} # Taps on element with text 'John'Run file
runScriptPassing parameters
Inline
evalScriptInbuilt functions & properties
object maestro
maestroField Name
Value
function relativePoint
relativePointOthers
Last updated
Was this helpful?
