Skip to main content
The emulator block configures remote mobile emulators used by the local editor and momentic-mobile CLI. Only applies to mobile test runs.
momentic.config.yaml
emulator.region
"us" | "eu" | "as" | "us-east1" | "us-east2" | "us-west1" | "us-west2" | "eu-north1" | "as-south1"
Region where the emulator runs. Continent values (us, eu, as) are recommended because they let Momentic schedule across every data center in the continent, which improves allocation reliability compared to pinning a specific data-center region. Specific regions (us-east1, us-east2, us-west1, us-west2, eu-north1, as-south1) are still accepted when you need deterministic latency to a particular location. as is Android-only. When unset, Momentic picks the region closest to the user’s source IP.
momentic.config.yaml
emulator.autoGrantPermissions
boolean
Android only. Auto-grant permissions to the app under test at install and launch time, so permission confirmation dialogs (camera, location, notifications, etc.) never appear. Has no effect on iOS; use emulator.autoAcceptAlerts there instead. Default: false.
momentic.config.yaml
emulator.autoAcceptAlerts
boolean
iOS only. Automatically accept native alert dialogs as they appear during the run, including permission prompts (“Allow … to access …”) and other system alerts. Should not be combined with emulator.autoDismissAlerts. Has no effect on Android; use emulator.autoGrantPermissions there instead. Default: false.
momentic.config.yaml
emulator.autoDismissAlerts
boolean
iOS only. Automatically dismiss native alert dialogs as they appear during the run, declining permission prompts and closing other system alerts. Should not be combined with emulator.autoAcceptAlerts. Default: false.
momentic.config.yaml
emulator.enableLogcatCapture
boolean
Android only. Stream emulator logcat entries into the local editor and CLI run output. Capture is disabled by default as a performance optimization that reduces continuous log streaming and can reduce emulator lag, especially during local editor sessions. Enable it when retaining logcat entries for debugging is more important than emulator responsiveness. Individual tests can override the project default from the test options dialog. Default: false.
momentic.config.yaml
emulator.enableSyslogCapture
boolean
iOS only. Stream simulator syslog entries into the local editor and CLI run output. Capture is disabled by default as a performance optimization that reduces continuous log streaming and can reduce simulator lag, especially during local editor sessions. Enable it when retaining syslog entries for debugging is more important than simulator responsiveness. Individual tests can override the project default from the test options dialog. Default: false.
momentic.config.yaml
emulator.disableMomenticAccessibilityTree
boolean
Use the native Android accessibility tree inside webviews instead of Momentic’s custom implementation. The custom implementation includes more elements by default. Disabling it can speed webview interactions by 1-2 seconds but may break interactions with elements outside the viewport. Default: false.
momentic.config.yaml