Run your first test with the Maestro CLI
Write and execute your first Maestro Flow using the CLI. Automate the Contacts app on an Android emulator with YAML commands and recording.
Prerequisites
2
Create the Flow file
appId: com.google.android.contacts
---
- launchApp:
clearState: true # Resets the app to a fresh state before starting
- startRecording: recording # Starts capturing a video of the execution
- tapOn: "Allow" # Handles system permission dialog if it appears
- tapOn: Create contact
- tapOn: First name
- inputText: John
- tapOn: Last name
- inputText: Doe
- tapOn: Company
- inputText: Maestro
- tapOn: "+1"
- inputText: 111-111-1111
- tapOn: Save
- back # Returns to the main contact list
- stopRecording # Saves the video fileFinal Outcome

Next steps
Last updated

