@ohmyperf/driver-playwright
v0.1.1
Published
Playwright Driver implementation. Wraps newCDPSession() for Chromium-deep work.
Maintainers
Readme
@ohmyperf/driver-playwright
Playwright + Chrome DevTools Protocol driver for ohmyperf. Includes OOPIF (cross-origin iframe) deep-inspection.
- Wraps Playwright's
newCDPSession()to expose aCDPSessionLikeinterface to the ohmyperf engine. ./oopif-attachentry point installsTarget.setAutoAttach({ flatten: true })— attaches a real CDPSession to every cross-origin iframe, srcdoc frame, fenced frame, and popup. ~99% iframe metric coverage.- Standard
driver-playwrightpluscdp-compatsubpath for advanced Chromium work.
Part of the ohmyperf monorepo. Most users install the @ohmyperf/cli or @ohmyperf/mcp-server binary rather than this package directly.
Install
npm install @ohmyperf/driver-playwrightRequires Node ≥ 22.
