Compatibility Guide
Discover the compatible versions of @currents/playwright
Compatibility Table
Use the following table to discover what versions of @currents/playwright to use:
1.59.1
1.24.0, 2.0.0+
1.60.0+
2.0.0+
Notes
May 19 2026
@playwright/test@1.60.0introduced changes that require updating Currents reporter to version2.0.0+.Currents Orchestration users, follow the Migration Guide
If you are not using Currents Orchestration no additional changed required beyond version bump.
Run Playwright with Bun
@currents/playwright works with Bun as the package manager and as the runtime that runs the tests. The reporter, pwc and pwc-p work the same as with Node. Tested with Bun 1.3.14 and 1.4.4.
Running the tests under Bun requires Playwright 1.65.0 or later. Earlier Playwright versions cannot load a TypeScript config or spec file under Bun and stop with error: Unexpected !.
Start Playwright, pwc and pwc-p by their command names or from a package.json script:
bunx playwright test, bun run test, bunx pwc, bunx pwc-p run
Node
bunx --bun playwright test, bun run --bun test, bunx --bun pwc, bunx --bun pwc-p run
Bun
On a machine without Node, for example the oven/bun Docker image, Bun runs the tests with either form.
bun test fails
bun test starts Bun's own test runner, not Playwright. Run Playwright with bunx playwright test, or add a "test": "playwright test" script to package.json and run bun run test.
Commands that start a file path
Start Playwright, pwc and pwc-p by their command names, not by a path such as node_modules/@playwright/test/cli.js or node_modules/@currents/playwright/dist/bin/pwc-p.js:
pwcandpwc-pstarted by path cannot find Playwright in@currents/playwright2.7.0, under Node as well as Bun.pwcstops withCommand failed with ENOENT: playwright test,pwc-p runwithFailed discovery for orchestration session, andpwc-p discoverwithFailed to run `playwright test --list`. Is @playwright/test installed and on PATH?Playwright started by path with
bun --bunruns the tests under Bun, but the Currents reporter starts its test list scan with Node. On a machine without Node, the reporter printspwc-scanner failedand/usr/bin/env: 'node': No such file or directory, and the run is recorded without the list of all tests in the suite.
Last updated
Was this helpful?