AndroidDriver<AndroidElement>
无法执行双击。
错误文字:OpenQA.Selenium.WebDriverException : io.appium.uiautomator2.utils.w3c.ActionsParseException: You cannot perform two or more 'pointerDown' actions without a pause between them at 250ms in 'default mouse' chain
尝试:
ITouchAction touchAction = new TouchAction(driver);
touchAction.Tap(element).Wait(251).Release().Perform();
touchAction.Tap(element).Release().Perform();
ITouchAction touchAction = new TouchAction(driver);
touchAction.Tap(element).Release().Perform();
touchAction.Tap(element).Release().Perform();
touchAction.Tap(element).Tap(element).Release().Perform();
-对我不起作用
同样的问题:
Actions act = new Actions(_driver);
act.MoveToElement(btn).DoubleClick().Build().Perform();
预计将执行DoubleClick或Tap