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

x/puppeteer/mod.ts>Touchscreen#tap

A port of puppeteer running on Deno
Latest
method Touchscreen.prototype.tap
Re-export
import { Touchscreen } from "https://deno.land/x/puppeteer@16.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>