import { Page } from "https://deno.land/x/fresh@1.5.2/tests/deps.ts";
Sends a keydown
, keypress/input
, and keyup
event for each character
in the text.
To press a special key, like Control
or ArrowDown
, use Keyboard.press.
Parameters
- A selector of an element to type into. If there are multiple elements satisfying the selector, the first will be used.