Skip to content

v1.0.6 — TypeScript types + raw-CDP power tools

Choose a tag to compare

@sagarpalsapure sagarpalsapure released this 01 Jul 18:11

Verified against Orca v1.4.114 · playwright-core ^1.61.1.

The release that carries everything built since 1.0.5 to npm.

Added

  • TypeScript typesindex.d.ts (main / ./bridge) + connect.d.ts (./connect). TS consumers get full types instead of any; type-checked under --strict in CI.
  • connectOrca() raw-CDP power tools — the proxy answers ~35 CDP domains on the page socket, so the raw driver now wraps: captureConsole(), recordNetwork() + .har() (HAR 1.2), throttle()/offline(), cookies()/setCookie()/clearCookies(), storage()/clearStorage(), emulate({ device, timezone, cpu, colorScheme }) (instant, no reload), fullPageScreenshot(), captureMHTML(), axTree(), domCounters(), metrics().
  • orcaTabs().evalAll(js) — evaluate in every open tab with genuine wall-clock concurrency.
  • Safe reload() on the Playwright connection (re-navigates the current URL; page.reload() closes the tab through Orca's proxy).
  • CI — GitHub Actions (Node 20/22) + a .d.ts type-check job.
  • examples/ — runnable multi-tab, login-form, device-screenshot scripts.

Changed

  • switchToOrcaTab() polls for the active tab instead of a fixed 700 ms sleep.
  • README no longer calls the synchronous orcaTabs() driver "concurrent"; points to evalAll() / per-tab bridges.

Notes

All documented limitations were re-verified against 1.4.114 (none fixed) and are tracked upstream: stablyai/orca #7031–#7035 and #6923.

Full test suite: 22/22.