App crashes when swipe action is performed

Hi,

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

WebDriverWait wait = new WebDriverWait(driver, 30);

wait.until(ExpectedConditions.elementToBeClickable(By.name(“start”)));
driver.swipe(591, 220, 402, 219, 500);
wait.until(ExpectedConditions.elementToBeClickable(By.name(“customer support”)));
driver.swipe(591, 220, 402, 219, 500);
wait.until(ExpectedConditions.elementToBeClickable(By.name(“profile”)));
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
Rohan

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