chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.input / SynthesizeTapGestureRequest

SynthesizeTapGestureRequest

data class SynthesizeTapGestureRequest

Request object containing input parameters for the InputDomain.synthesizeTapGesture command.

Constructors

<init>

Request object containing input parameters for the InputDomain.synthesizeTapGesture command.

SynthesizeTapGestureRequest(x: Double, y: Double, duration: Int? = null, tapCount: Int? = null, gestureSourceType: GestureSourceType? = null)

Properties

duration

Duration between touchdown and touchup events in ms (default: 50).

val duration: Int?

gestureSourceType

Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).

val gestureSourceType: GestureSourceType?

tapCount

Number of times to perform the tap (e.g. 2 for double tap, default: 1).

val tapCount: Int?

x

X coordinate of the start of the gesture in CSS pixels.

val x: Double

y

Y coordinate of the start of the gesture in CSS pixels.

val y: Double