Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我发现使用 adb 命令的 android 也是如此,例如: adb shell input tap 100 500,它将点击 android 设备上的坐标(100,500)。是否可以对IOS设备做同样的事情,如何?
使用 appium,您可以使用TouchAction来自客户端库的如下:
TouchAction
TouchAction tapCoordinates = new TouchAction(driver); //where driver is AppiumDriver tapCoordinates.tap(x,y).perform();