Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Sep 26, 2019 13:36


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).