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
Related Commands
- Browser Commands - Read content in Android steps
- Parse Commands - Parse extracted app content
- Validation Commands - Validate extracted content