如何使用 Appium 2.0 C# 执行点击

问题描述 投票:0回答:1

我怀念 touchactions,但它们已被弃用,所以我想了解如何用 W3C 标准编写它们。我想要移动到一个位置,然后点击该位置。这是我正在尝试但没有执行的操作:

 Actions actions = new Actions(_IOSdriver);
 actions.MoveToLocation(263, 495).Click();
 Thread.Sleep(2000);
 actions.Build().Perform();
appium w3c browserstack
1个回答
0
投票

您是否尝试过使用手机:点击命令?

参考链接: https://appium.readthedocs.io/en/latest/en/writing-running-appium/ios/ios-xctest-mobile-gestures/

© www.soinside.com 2019 - 2024. All rights reserved.