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

x/puppeteer/mod.ts>Touchscreen

A port of puppeteer running on Deno
Latest
class Touchscreen
Re-export
import { Touchscreen } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

The Touchscreen class exposes touchscreen events.

Constructors

new
Touchscreen(client: CDPSession, keyboard: Keyboard)

Methods

tap(x: number, y: number): Promise<void>

Dispatches a touchstart and touchend event.