> ## Documentation Index
> Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Mobile configuration

> Reference for the `emulator` block in `momentic.config.yaml`. Controls remote-hosted mobile emulators spun up by `momentic-mobile`.

The `emulator` block configures remote mobile emulators used by the
`momentic-mobile` CLI. Only applies to mobile test runs.

```yaml momentic.config.yaml theme={null}
emulator:
  region: us
  autoGrantPermissions: true
```

<ParamField path="emulator.region" type="&#x22;us&#x22; | &#x22;eu&#x22; | &#x22;as&#x22; | &#x22;us-east1&#x22; | &#x22;us-east2&#x22; | &#x22;us-west1&#x22; | &#x22;us-west2&#x22; | &#x22;eu-north1&#x22; | &#x22;as-south1&#x22;">
  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.

  ```yaml momentic.config.yaml theme={null}
  emulator:
    region: us
  ```
</ParamField>

<ParamField path="emulator.autoGrantPermissions" type="boolean">
  Auto-grant permissions to the app under test, bypassing most permission
  confirmation dialogs. Default: `false`.

  ```yaml momentic.config.yaml theme={null}
  emulator:
    autoGrantPermissions: true
  ```
</ParamField>

<ParamField path="emulator.disableMomenticAccessibilityTree" type="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`.

  ```yaml momentic.config.yaml theme={null}
  emulator:
    disableMomenticAccessibilityTree: true
  ```
</ParamField>
