Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
使用swipe的问题,如何在swipe到达最后一个坐标后停顿3秒钟,再松开手指。 现在是立即松开手指,这不是我想要的。
// 起始坐标 (startX, startY) 和结束坐标 (endX, endY) var startX = 500; var startY = 1000; var endX = 500; var endY = 500; // 执行滑动操作 swipe(startX, startY, endX, endY, 500); // 停顿3秒钟 sleep(3000); // 模拟点击结束坐标 (endX, endY) 来"松开手指" click(endX, endY);