0

我发现使用 adb 命令的 android 也是如此,例如: adb shell input tap 100 500,它将点击 android 设备上的坐标(100,500)。是否可以对IOS设备做同样的事情,如何?

4

1 回答 1

0

使用 appium,您可以使用TouchAction来自客户端库的如下:

TouchAction tapCoordinates = new TouchAction(driver); //where driver is AppiumDriver
tapCoordinates.tap(x,y).perform();
于 2016-04-08T06:59:32.383 回答