WebdriverIO Appium-用两根手指按住特定时间并按住

时间:2019-01-10 12:13:26

标签: appium webdriver-io appium-ios

我有一个用例,要求用户用两根手指按住10秒钟。按照here的指导,我无法使用以下代码来完成这项工作:

browser.touchMultiPerform([
    { action: 'longPress', options: { x: 200, y: 200 }},
    { action: 'longPress', options: { x: 230, y: 230 }},
    { action: 'wait', options: { ms: 10000 }}
  ]); 

本地iOS应用程序 WebdDriverIO 4.14.1

感谢您的帮助, 马特

0 个答案:

没有答案