perform swipe using two finger in xcode ui test using swift

I have a scenario where I have to swipe an element by using two finger tap.


If I use one finger tap, it's a different output.

For one finger, I can use


- pressForDuration(duration: NSTimeInterval, thenDragToElement: XCUIElement)


But for two finger tap, I know I can use


- twoFingerTap


But after that, how to swipe that element using the two finger in swift?

Replies

Hi Noorshiblee,


Have you figured out any way to achieve this ?