Skip to main content
Module

x/puppeteer_plus/mod.ts>Touchscreen

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
class Touchscreen
Re-export
import { Touchscreen } from "https://deno.land/x/puppeteer_plus@0.14.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.