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

Dispatches a keypress and input event. This does not send a keydown or keyup event.

Examples

Example 1

page.keyboard.sendCharacter('嗨');

Parameters

char: string
  • Character to send into the page.

Returns

Promise<void>