Skip to main content

Usage with Maestro

For instance, if you're using Maestro, you can measure the startup performance of the Twitter app:

  1. Create a twitter.yaml file:
appId: com.twitter.android
---
- launchApp
- assertVisible: Search and Explore
  1. Measure performance 🚀
flashlight test --bundleId com.twitter.android \
--testCommand "maestro test twitter.yaml" \
--duration 10000 \
--resultsFilePath results.json
  1. Open the report
flashlight report results.json