Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class Touchscreen
import { Touchscreen } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Input.js";

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.