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

x/puppeteer/vendor/puppeteer-core/puppeteer/common/Input.d.ts

A port of puppeteer running on Deno
Go to Latest
import * as puppeteer from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/Input.d.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.