How do I run an existing app in the device?

The app is preloaded. Even you factory reset, the app is still there. So I just need to run this app without using apk.

Thanks!

On android, you can define ‘appPackage’ and ‘appActivity’ in Capability instead of ‘path’. Then you can test tht preloaded app or any app you want.

Thanks @ianxiaohanxu !

Just to add, on how to determine the appPackage and appActivity inside an apk file:
aapt dump badging <apk file>

Hope this helps.

cool, it is really a good tool.