Tried to perform two swipe left actions at the start of the app to go through tutorial pages using:
Mobile.swipe(950, 850, -900, 0)
Mobile.Delay(2)
Mobile.swipe(950, 850, -900, 0)
However, the swipe does not seem to complete which only display around 2/3 of the next view. This becomes a problem when the second swipe action is performed since it only completed the first swipe instead of swiping to the third view on the right.
Currently, I have to add a tap action to complete the swipe action.
Mobile.swipe(950, 850, -900, 0)Mobile.tap(content-holder)
Mobile.Delay(2)
Mobile.swipe(950, 850, -900, 0)Mobile.tap(content-holder)
Is there any way to make the swipe action faster as when I try this in appium java client I only need the following script to complete both swipes.
driver.swipe(startX, startY, endX, endY, 500);
Thread.sleep(2000);
driver.swipe(startX, startY, endX, endY, 500);