Skip to main content

Mobile

The trq CLI runs your recorded Android flows too — the same trq play command. There's no browser involved: Trq drives the app directly through adb.

What you need

  • adb on your PATH (from the Android SDK platform-tools).
  • A running emulator or a connected device.

Trq finds the device automatically. See Android setup for installing the SDK and creating an emulator.

Run a flow

trq play login

Trq replays each step against the device, prints per-step pass/fail, and exits 0 or 1 like any other run.

Choosing a device

With more than one device attached, pick which one with TRQ_SERIAL (a serial from adb devices):

TRQ_SERIAL=emulator-5554 trq play login

In CI

The runner needs adb plus a device or emulator — for example, an Android emulator action on GitHub Actions, or a device farm. Trq connects to whatever is attached and installs a tiny helper app on first run.

note

Mobile runs use a single device at a time. Run separate jobs to spread flows across multiple devices.