Maestro by mobile.dev
Search…
⌃K
What is Maestro?
GitHub Repo
Getting Started
Installing Maestro
Run a Sample Flow
Writing Your First Flow
Maestro Studio
Running Flows on CI
Recording Your Flow
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
Reference
Tap On View
Assertions
Scroll and Swipe
Back Button Press
Text Input
Keyboard
Take Screenshot
Open Link
App Files
App Lifecycle
CLI
Continuous Mode
View Hierarchy
Test Suites & Reports
Cloud
Tags
Advanced
Nested Flows
Wait
Loops
Conditions
Parameters & Constants
JavaScript
Run JavaScript
Outputs
Access element text
Make HTTP(s) requests
Experimental
Detect Maestro in your App
Troubleshooting
Known Issues
Bug Report
Rollback Maestro
Powered By GitBook

JavaScript

Maestro supports a minimal subset of vanilla JavaScript APIs with some purpose-built Maestro extensions. Though none of the functions that allow interaction with the OS are available (i.e. there is no access to the filesystem), those scripts offer just enough functionality to write more sophisticated conditions or make HTTP requests.
Advanced - Previous
Parameters & Constants
Next
Run JavaScript
Last modified 1mo ago
Copy link