简体   繁体   中英

AndroidViewClient tap specific X,Y coordinate

使用AndroidViewClient触摸屏幕上特定的X,Y坐标的正确方法是什么?

A simple way of discovering and learning AndroidViewClient is by using culebra as a script generator.

Start culebra GUI as

culebra -uG --scale=0.5

click with the alternate button to open the context menu and select Touch using DIP or Touch using PX and the autogenerated script will contains something like

device.touchDip(139.33, 426.0, 0)

or

device.touch(250.0, 1242.0, 0)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM