iOS: 14.7.1
Appium: 1.21.0
XCUITestDriver (v3.43.0)
According to:
mobile: swipe
JavascriptExecutor js = mobileDriver();
Map<String, Object> params = new HashMap<>();
params.put("direction", "left");
params.put("velocity", 250);
params.put("element",element(TAB_BAR_IOS).withTimeoutOf(Duration.ofSeconds(30)).waitUntilVisible().getAttribute("UID"));
js.executeScript("mobile: swipe", params);
Although, velocity was set, but it was useless. It does not affect to speed of scrolling.
Any one faced this problem?