Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/src/Input.ts>Touchscreen#tap

Headless Chrome Deno API
Latest
method Touchscreen.prototype.tap
import { Touchscreen } from "https://deno.land/x/pptr@1.2.0/src/Input.ts";

Dispatches a touchstart and touchend event.

Parameters

x: number
  • Horizontal position of the tap.
y: number
  • Vertical position of the tap.

Returns

Promise<void>