| Approach | Black-box: drives the app through the accessibility treeNothing is added to the app | Gray-box: a Detox native client runs inside the appMatching and expectations run in the app process |
|---|
| App frameworks | React Native, Expo, Flutter, SwiftUI, UIKit, Jetpack Compose, Android Views, .NET MAUIFlutter needs a debug build for full support | React NativeExpo support is community-driven, per the Detox docs |
|---|
| Build under test | Any installed build, including a release buildWeb views and Flutter need a debuggable build | A build with Detox compiled inAndroid needs Gradle changes, a test runner class and a network security config |
|---|
| Waiting | Waits per element: exists, visible, enabled, stable. Assertions retryIt does not know about network requests or timers inside the app | Waits for the whole app to be idle: network, timers, animations, the JS threadDetox's main strength. A test fails if the app never goes idle |
|---|
| Real iOS devices | Yes, and simulators | Simulators only"Not yet supported on iOS", per the Detox README |
|---|
| Real Android devices | Yes, and emulators | Yes, and emulators |
|---|
| Locators | getByRole, getByLabel, getByText, getByTestId, getByType | by.id, by.text, by.label, by.typeby.traits on iOS only |
|---|
| System dialogs | screen.on('dialog') accepts or dismisses alerts and permission prompts on iOS and Android | System APIs on iOS only, experimentalPermissions can be granted at launch on iOS simulators |
|---|
| React Native hooks | None. It sees the app the way a user does | device.reloadReactNative(), Metro-based mocking, injected notificationsOnly possible because Detox runs inside the app |
|---|
| Test runner | Built on Playwright's runner: fixtures, projects, retries, workers, sharding | Jest, with retries and --maxWorkersEach worker gets its own device |
|---|
| Reporting | HTML report, screenshots, video, JUnit and JSON built in | Logs, screenshots and video as artifactsReports come from Jest reporters |
|---|
| Cloud devices | Mobile Next Cloud, BrowserStack, Sauce Labs, TestingBot, TestMu AIiOS and Android | Genymotion SaaS (Android), BrowserStack (real Android only) |
|---|
| AI agents | Mobile MCP and an agent CLI, from the same teamAgents write plain test code | Wix Pilot: natural-language steps, bring your own LLM"In active development", per its docs. No official MCP server |
|---|
| Maturity | New. 0.0.x releases, several a month | Mature. About 550k npm downloads a weekLatest stable is 20.51.4 (June 2026); 21 is in alpha |
|---|
| License | Apache 2.0, open source | MIT, open source |
|---|