Module

x/puppeteer/mod.ts>Touchscreen

A port of puppeteer running on Deno
Latest
class Touchscreen
import { Touchscreen } from "https://dotland.deno.dev/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.

import Touchscreen
import { Touchscreen } from "https://dotland.deno.dev/x/puppeteer@16.2.0/mod.ts";