To get your app opened automatically with appium you need at least two things
the apps package name and the activity name
for package name there is a easy way to list all package in your device and store it in a txt so that you can search it easily
adb shell pm list packages > packages.txt
And for running activity we can open the one we want and run
adb shell dumpsys window windows | grep -E 'mFocusedApp'
网友评论