drive.mjs
Tools · A check on the result · MIT
- What it does
Runs a scripted session in headless Chrome: move, click, key, wait-until, run JavaScript in the page, slow motion (for example 0.05x) and contact sheets across a transition to catch pops; --no-webgl shows the fallback. Because it runs JavaScript you pass it, the repo's security note says to point it only at pages you trust.
- Get it
node scripts/drive.mjs page.html --actions steps.json [--reduced] [--theme light] [--no-webgl]
- Needs
Node 20.10 or later; Chrome or Chromium (found in the usual places or through CHROME_PATH)
- License
MIT
- From