human-typing-playwright
v0.1.0
Published
Human-like typing for Playwright in Node.js
Readme
human-typing-playwright
Human-like typing for Playwright in Node.js.
Install
npm i human-typing-playwrightUsage
import { HumanTyper } from "human-typing-playwright"
const typer = new HumanTyper({ wpm: 60, layout: "qwerty" })
const input = page.locator("input[name='search']")
await input.click()
await typer.type(input, "Hello world!")Generator API
import { MarkovTyper } from "human-typing-playwright"
const typer = new MarkovTyper("hello world", { rngSeed: 42, targetWpm: 60 })
const [, history] = typer.run()