App crashes when swipe action is performed


android app crashes when swipe actions are performed. Please find the below code.

WebDriverWait wait = new WebDriverWait(driver, 30);

driver.swipe(591, 220, 402, 219, 500);
wait.until(ExpectedConditions.elementToBeClickable(“customer support”)));
driver.swipe(591, 220, 402, 219, 500);
driver.swipe(591, 220, 402, 219, 500);

Is it because the execution speed of the tool is fast? Is there a way to reduce the tool test execution speed?

Thank you

Are you swiping right to left ? and value seem to be less…

I have pasted code which is working fine for me @ Scroll functionality using loop - #7 by janardhanreddyzuck