Maestro by mobile.dev
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
CLI
Cloud
Test Suites & Reports
Tags
Recording Your Flow
Continuous Mode
View Hierarchy
API Reference
Commands
Configuration
Advanced
Nested Flows
Wait
Loops
Conditions
Parameters & Constants
JavaScript
Experimental
Specify a Device
Configuring Permissions
Detect Maestro in your App
Troubleshooting
Known Issues
Bug Report
Rollback Maestro
Powered By GitBook

View Hierarchy

Following commands are going to help you to understand what is currently shown on the screen.

hierarchy

hierarchy command prints out the whole view hierarchy that is currently being shown
maestro hierarchy

query

query command finds an element that matches a condition:
maestro query [text=regex] [id=regex]
CLI - Previous
Continuous Mode
Next - API Reference
Commands
Last modified 4mo ago
Copy link
On this page
hierarchy
query