Syntax
npx @nightwatch/mobile-helper android connect FLAG [configs]
Note: Only devices with Android version 11 or higher are supported.
Run the below command to connect to a real device wirelessly:
npx @nightwatch/mobile-helper android connect --wireless
Run the below command to launch an AVD:
npx @nightwatch/mobile-helper android connect --emulator
# with configs
npx @nightwatch/mobile-helper android connect --emulator [--avd <avd_name>]
Configs
Config | Description |
---|---|
--avd <avd_name> | Name of the AVD to launch |