touchFlick

Flick on the touch screen using finger motion events. This flick command starts at a particular screen location.

This command is deprecated and will be removed soon. Make sure you don’t use it in your automation/test scripts anymore to avoid errors. Please use the touchPerform command instead.

Usage

1
browser.touchFlick(ID,xoffset,yoffset,speed);

Parameters

Param Type Details
ID String ID of the element where the flick starts
xoffset Number the x offset in pixels to flick by
yoffset Number the y offset in pixels to flick by
speed Number the speed in pixels per seconds