puppeteer/new-docs/puppeteer.protocol.input.synthesizetapgesturerequest.md
2020-07-13 14:01:35 +01:00

1.5 KiB

Home > puppeteer > Protocol > Input > SynthesizeTapGestureRequest

Protocol.Input.SynthesizeTapGestureRequest interface

Signature:

export interface SynthesizeTapGestureRequest 

Properties

Property Type Description
duration integer Duration between touchdown and touchup events in ms (default: 50).
gestureSourceType GestureSourceType Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
tapCount integer Number of times to perform the tap (e.g. 2 for double tap, default: 1).
x number X coordinate of the start of the gesture in CSS pixels.
y number Y coordinate of the start of the gesture in CSS pixels.