Launch offer: the first 1,000 users get Settl free for a year* Claim your spot
settlbuilding in public

Maestro: write your app's tests once, run them on iPhone and Android

The short version

Maestro is a free, open-source tool (Apache 2.0, 16,000+ stars on GitHub) that turns a short text file into real taps on your iPhone simulator and Android emulator. One file, written once, runs on both. It works with Flutter and React Native, and Claude Code can write the file for you. It also waits for each screen to load on its own, so you never hand-code sleep() pauses. The README says your first test takes about 5 minutes.

Source: github.com/mobile-dev-inc/maestro (README) and docs.maestro.dev. Scope note: iOS means the simulator; physical iPhones are not supported yet.

What you get What it means
One YAML file = one test A flat list of commands: launchApp, tapOn, inputText, assertVisible
Same file on both platforms Works when both apps show the same on-screen labels (a Flutter app usually does)
No drivers, no SDK One install line, needs Java 17+
Waits for screens by itself No sleep() calls to tune

The checklist

  1. Check Java: java -version (needs 17 or higher).
  2. Install: curl -fsSL "https://get.maestro.mobile.dev" | bash
  3. Start an iOS simulator and an Android emulator with your app installed.
  4. Save the starter flow below as flow.yaml in your repo (put your own appId and button labels).
  5. Run it: maestro test flow.yaml
  6. Commit the file. Run it again before every release.

Starter flow (the README's own example)

appId: com.android.contacts
---
- launchApp
- tapOn: "Create new contact"
- tapOn: "First Name"
- inputText: "John"
- tapOn: "Last Name"
- inputText: "Snow"
- tapOn: "Save"

Swap appId for your app's bundle id and each tapOn for text that really appears on your screens.

Copy these prompts

Write a Maestro flow for the sign-up screen of my app. Use the real button and field labels from my code, add an assertVisible for the screen that appears after sign-up, and save it as .maestro/signup.yaml.
Look at my app's main flows (sign-up, add item, checkout). Write one Maestro flow per flow in a .maestro folder, using only labels that exist in my UI, and tell me which labels you were not sure about.

If you are building with Flutter

Maestro reads your app through the Semantics tree, not through Keys. Text widgets already work. For an icon or any widget without text, add a semanticLabel (or wrap it in Semantics), then use that label in tapOn. On Flutter 3.19+ you can use a Semantics identifier so the test survives translations. Flutter Web needs SemanticsBinding.instance.ensureSemantics(); in main(). Flutter Desktop is not supported yet.

Run this on your codebase

Set up Maestro for my project: check I have Java 17, give me the install line, create a .maestro folder with one starter flow for my app's most important screen, and show me the exact maestro test command to run it on the iOS simulator and the Android emulator.

Get the next one in your inbox