adb命令坐標定位及操作
adb shell settings put system pointer_location 1 打開畫線 0是關閉
adb shell settings put system show_touches 1 打開觸摸白點 0是關閉 畫線命令
adb shell input swipe 200 1200 200 400 200是x坐標 1200-400 y坐標從下往上畫 點擊命令
adb shell tap 300 500 點擊在x=300 y=500 位置 長按命令
adb shell input swipe 100 100 100 100 1000 在x=100 y=100 位置處長按1s 截圖
adb shell /system/bin/screencap -p /sdcard/screenshot.png adb pull /sdcard/screenshot.png d:/
adb 錄像 adb shell screenrecord /sdcard/1.mp4 adb pull /sdcard/1.mp4 d:/adb
使用adb指令獲取手機點擊坐標 https://blog.csdn.net/qq_23521659/article/details/95475787