synthesizeScrollGesture
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
Parameters
X coordinate of the start of the gesture in CSS pixels.
Y coordinate of the start of the gesture in CSS pixels.
The distance to scroll along the X axis (positive to scroll left).
The distance to scroll along the Y axis (positive to scroll up).
The number of additional pixels to scroll back along the X axis, in addition to the given distance.
The number of additional pixels to scroll back along the Y axis, in addition to the given distance.
Prevent fling (default: true).
Swipe speed in pixels per second (default: 800).
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
The number of times to repeat the gesture (default: 0).
The number of milliseconds delay between each repeat. (default: 250).
The name of the interaction markers to generate, if not empty (default: "").