ios列表滑动问题
我用uirecorder录制了一个脚本,然后修改了滑动的方法为
it('drag: 192, 711, 216, 236, 1.11', async function(){ //await driver.sendActions('drag', {fromX: 192, fromY:711, toX:216, toY:236, duration: 1.11}); await driver.swipe(192, 500, 216, 236, 1.11); });
运行提示
drag: 192, 711, 216, 236, 1.11:
TypeError: driver.swipe is not a function
at Context.
问题 1、请问macaca不支持swipe吗,但是看问题解答里说2016年就支持了啊?这个该怎么使用 2、如果不支持,我想将列表(ios)滑动到某一项该怎么实现,谢谢
This is the translated issue:
Ios list sliding problem
I recorded a script with uirecorder and then modified the sliding method to
it('drag: 192, 711, 216, 236, 1.11', async function(){ //await driver.sendActions('drag', {fromX: 192, fromY:711, toX:216, toY:236, duration: 1.11}); Await driver.swipe(192, 500, 216, 236, 1.11); });
Running prompt
Drag: 192, 711, 216, 236, 1.11:
TypeError: driver.swipe is not a function
At Context.
problem
- Does macaca not support swipe, but see the question and answer that 2016 is supported? How should I use this? 2, if it is not supported, I want to slide the list (ios) to a certain item, how to achieve it, thank you