Version
1.60.0
Steps to reproduce
- Install Node 26
- git clone https://github.com/finddaniel/playwright-node-26-demo
- npm install
- npx playwright test
Expected behavior
Tests run without deprecation warnings.
Actual behavior
Node emits a runtime [DEP0205] deprecation warning once per worker process on every test run:
(node:5399) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
With the default worker count the warning appears multiple times — once per worker spawned. Visible in CI here: https://github.com/finddaniel/playwright-node-26-demo/actions/runs/25944187042/job/76268604371
Additional context
I'm interested in working on this if it's assigned to a community contributor.
Environment
Binaries:
Node: 26.1.0
npmPackages:
@playwright/test: ^1.60.0 => 1.60.0
Version
1.60.0
Steps to reproduce
Expected behavior
Tests run without deprecation warnings.
Actual behavior
Node emits a runtime
[DEP0205]deprecation warning once per worker process on every test run:With the default worker count the warning appears multiple times — once per worker spawned. Visible in CI here: https://github.com/finddaniel/playwright-node-26-demo/actions/runs/25944187042/job/76268604371
Additional context
I'm interested in working on this if it's assigned to a community contributor.
Environment