Skip to main content
Go to Latest
class Touchscreen
Re-export
import { Touchscreen } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";

The Touchscreen class exposes touchscreen events.

Constructors

new
Touchscreen(client: CDPSession, keyboard: Keyboard)

Properties

private
_client
private
_keyboard

Methods

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

Dispatches a touchstart and touchend event.