使用 AndroidViewClient 在屏幕上触摸特定 X、Y 坐标的正确方法是什么?
最佳答案
发现和学习 AndroidViewClient 的一种简单方法是使用 culebra
作为脚本生成器。
开始culebra GUI作为
culebra -uG --scale=0.5
点击备用按钮打开上下文菜单并选择Touch using DIP 或Touch using PX,自动生成的脚本将包含如下内容
device.touchDip(139.33, 426.0, 0)
或
device.touch(250.0, 1242.0, 0)
关于AndroidViewClient 点击特定的 X,Y 坐标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32102570/