我怀念 touchactions,但它们已被弃用,所以我想了解如何用 W3C 标准编写它们。我想要移动到一个位置,然后点击该位置。这是我正在尝试但没有执行的操作:
Actions actions = new Actions(_IOSdriver); actions.MoveToLocation(263, 495).Click(); Thread.Sleep(2000); actions.Build().Perform();
您是否尝试过使用手机:点击命令?
参考链接: https://appium.readthedocs.io/en/latest/en/writing-running-appium/ios/ios-xctest-mobile-gestures/