import { Frame } from "https://deno.land/x/pptr@1.2.0/mod.ts";
Sends a keydown
, keypress
/input
, and keyup
event for each character
in the text.
Examples
Example 1
Example 1
await frame.type('#mytextarea', 'Hello'); // Types instantly
await frame.type('#mytextarea', 'World', {delay: 100}); // Types slower, like a user