Skip to main content

FingersActions

Static methods​

withFingers (locator)​

This will return IFingersActions which will expose different methods to handle all multi fingers related actions on an element.

IFingersActions fingersActions = FingersActions.withFingers (locator);

Instance methods​

zoomIn​

This method will zoom in on an element, i.e: one finger will move from the center of the element to the left direction and other finger will move from the center of the element to th right direction.

import static io.github.boykaframework.actions.elements.FingersActions.withFingers;
. . .
withFingers (imageElement).zoomIn ();

zoomOut​

This method will zoom out from an element, i.e: one finger will move from the left edge of the element to the center and other finger will move from the right edge of the element to th center.

import static io.github.boykaframework.actions.elements.FingersActions.withFingers;
. . .
withFingers (imageElement).zoomOut ();