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

x/pptr/src/Input.ts

Headless Chrome Deno API
Latest
import * as pptr from "https://deno.land/x/pptr@1.2.0/src/Input.ts";

Classes

Keyboard provides an api for managing a virtual keyboard. The high level api is Keyboard."type", which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page.

The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.

The Touchscreen class exposes touchscreen events.