Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Keyboard.prototype.down
Re-export
import { Keyboard } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";

Dispatches a keydown event.

Parameters

  • Name of key to press, such as ArrowLeft. See KeyInput for a list of all key names.
optional
options: { text?: string; }
  • An object of options. Accepts text which, if specified, generates an input event with this text.

Returns

Promise<void>