Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Input.SynthesizeTapGestureRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { SynthesizeTapGestureRequest } = Protocol.Input;

Properties

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.

optional
duration: integer

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

optional
tapCount: integer

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

optional
gestureSourceType: GestureSourceType

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