Access Element Text in Maestro JavaScript
Copy text from UI elements using copyTextFrom and access via maestro.copiedText in JavaScript.
In order to access text of UI elements, use copyTextFrom command. The text can then be accessed via maestro.copiedText variable:
- copyTextFrom: My Field
- inputText: ${'Hello ' + maestro.copiedText}Last updated
Was this helpful?
