touchScroll

Scroll on the touch screen using finger based motion events. If element ID is given start scrolling 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.touchScroll(id,xoffset,yoffset);

Parameters

Param Type Details
id String the element where the scroll starts.
xoffset Number in pixels to scroll by
yoffset Number in pixels to scroll by