import { Page } from "https://dotland.deno.dev/x/fresh@1.7.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 {@link Keyboard.press}.
Parameters
- A selector of an element to type into. If there are multiple elements satisfying the selector, the first will be used.