Skip to main content
Android commands control the Android device that runs an Android step: launching and stopping apps, tapping elements, and switching the device’s proxy or timezone. Android steps can also use Browser commands to read content.

Available Commands

Run App

Launch an app by package name (ID 1)

Close App

Force-stop an app by package name (ID 2)

Switch Proxy

Route device traffic through a proxy (ID 3)

Switch Timezone

Set the device timezone (ID 4)

Tap On Elements

Tap elements matched by a CSS selector (ID 5)

Common Use Cases

  • App data extraction: Launch an app, navigate it with taps, then read content
  • Geo-specific data: Switch proxy and timezone to match the target market before launching the app
  • Clean runs: Close the app at the end of a step so the next run starts fresh

Example

Best Practices

  • Set location first: Run Switch Proxy and Switch Timezone before Run App so the app starts with the right network and clock
  • Use stable selectors: Prefer selectors that do not change between app versions
  • Set Appropriate Timeouts: Allow for app start-up and screen transitions, within the step’s interval