copyTextFrom
Copy text from elements and store in maestro.copiedText for reuse in tests or scripts.
Usage Example
appId: com.example.app
---
- launchApp
- copyTextFrom:
id: "someId"
- tapOn:
id: "searchFieldId"
- pasteTextappId: com.example.app
---
- launchApp
- copyTextFrom:
id: "someId"
- tapOn:
id: "searchFieldId"
- inputText: ${'Pasted using JavaScript: ' + maestro.copiedText}Last updated
Was this helpful?
