Wheel

new Wheel(id)

Parameters:
NameTypeDescription
idstring

the device ID..

Methods

scroll(x, y, deltaX, deltaY, origin, duration) → (non-null) {Action}

Scrolls a page via the coordinates given

Parameters:
NameTypeDescription
xnumber

starting x coordinate

ynumber

starting y coordinate

deltaXnumber

Delta X to scroll to target

deltaYnumber

Delta Y to scroll to target

originWebElement

element origin

durationnumber

duration ratio be the ratio of time delta and duration

Returns:

An action to scroll with this device.

Type: 
Action