Maestro by mobile.dev
Ask or search…
⌃K
What is Maestro?
GitHub Repo
Getting Started
Installing Maestro
Build and Install your App
Run a Sample Flow
Writing Your First Flow
Maestro Studio
Running Flows on CI
Platform Support
Supported Platforms
Android - Views
Android - Jetpack Compose
iOS - UIKit
iOS - SwiftUI
React Native
Flutter
Web Views
Examples
Android contacts flow automation
Facebook signup flow automation
Advanced: Wikipedia Android
Page Object Model
CLI
Cloud
Test Suites & Reports
Tags
Recording Your Flow
Continuous Mode
View Hierarchy
Start Device
API Reference
Commands
Configuration
Selectors
Advanced
Nested Flows
Wait
Loops
Conditions
Parameters & Constants
JavaScript
Experimental
Specify a Device
Configuring Permissions
Detect Maestro in your App
Configuring Maestro driver timeout
onFlowStart / onFlowComplete hooks
Testing in different locales
Troubleshooting
Known Issues
Frequently Asked Questions
Bug Report
Rollback Maestro
Debug Output
Community
Contributions
Articles & Tutorials
Powered By GitBook
Comment on page

Writing Your First Flow

Write a test in a YAML file
# flow.yaml
​
appId: your.app.id
---
- launchApp
- tapOn: "Text on the screen"
Make sure an Android device/emulator or iOS simulator is running (instructions) and app is correctly installed on a selected device (instructions).
Run it!
maestro test flow.yaml
Getting Started - Previous
Run a Sample Flow
Next - Getting Started
Maestro Studio
Last modified 9mo ago