I want to use adb command to create something like auto-click in app. Before i ask this question, i have tried selenium and appium. None of them could solve my problem. This app is so strange, it would not allow you to find UI element when you do one hundred clicks. Therefore, I can only try to use adb command to implement my project.
In this app, you could only see three card-boxes on the entire screen. Each card-box has exactly same width and height with a space between each card-box. Only you scroll up, then the next card-box could pop up.
I want to perform a exactly scroll-chain effect like using finger. There is not overscroll when you use finger to press the screen, drag up or down and then lift up your finger.
I test some code like adb shell input swipe {x1} {y1} {x1} {y1 + y} {duration}
, but could not implement that effect i have told.
The problem is that i only want exactly scroll distant with adb cammand, then each time i could exactly tap the first card-box.
I test my code in python with some constraints.
1.Using Appium is not allowed.
2.Using Selenium is not allowed.
Are there any other solutions?