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

x/pptr/mod.ts>Touchscreen#tap

Headless Chrome Deno API
Latest
method Touchscreen.prototype.tap
Re-export
import { Touchscreen } from "https://deno.land/x/pptr@1.2.0/mod.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>