This could be achieved by using the Perfecto gesture command.

Here is an example in Java:

Map<String, Object> params = new HashMap<>();
params.put("start", "20%,40%");
params.put("end", "15%,60%");
params.put("operation", "zoom");
params.put("duration", "3");
Object res = driver.executeScript("mobile:touch:gesture", params);

For more information please refer to the Gesture command documentation - Gesture (FR).

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues