Is it possible for adb shell console to access an Android app\'s specific button using its id? or text?
adb shell
I\'m trying to automate the button click on the dev
I think the best you can do is to inject touch based on a coordinate.
Please see send touch event from ADB to a device and simulating touch using ADB
You might get a coordinate of a button from dumpsys window or activity.
You could also check out Monkeyrunner.