문제

I want to perform swipe gesture on UITableView cell with automation script. I tried recording this action but I get this:

target.frontMostApp().mainWindow().tableViews()[1].cells()[2].buttons()[0].scrollToVisible();
도움이 되었습니까?

해결책

These are the commands I was looking for: dragInsideWithOptions() or dragFromToForDuration;

Use it like this target.frontMostApp().mainWindow().tableViews()[1].cells()[2].dragInsideWithOptions({startOffset:{x:0.0, y:0.1}, endOffset:{x:0.5, y:0.1}, duration:0.25});

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top