Static methods

withFinger (locator)

This will return IFingerActions which will expose different methods to handle all finger related actions on an element.
IFingerActions fingerActions = FingerActions.withFinger (locator);

withFinger

This will return IFingerActions which will expose different methods to handle all finger related actions on the screen.
IFingerActions fingerActions = FingerActions.withFinger ();

Instance methods

swipe

This method will swipe on the screen / element, i.e: finger will move from center of the screen to mentioned direction of the screen / element.
import static io.github.boykaframework.actions.elements.FingerActions.withFinger;
. . .
withFinger (sourceElement).swipe (SwipeDirection.UP);

dragTo (target)

This method will drag the source element to the target element.
import static io.github.boykaframework.actions.elements.FingerActions.withFinger;
. . .
Locator source = // source element to drag
Locator target = // target element to drag the source to
withFinger (source).dragTo (target);

swipeTill

This method will swipe left on the screen, i.e: finger will move from center of the screen to left of the screen.
import static io.github.boykaframework.actions.elements.FingerActions.withFinger;
. . .
withFinger (sourceElement).swipeTill (SwipeDirection.UP);