playwright-webkit
1.65.1 · 13 Nov 2026Apache-2.0146.1k / weekRepositoryHomepagenpmAtom feed
Upgrading playwright-webkit From 1.64.1 to 1.65.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 4
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.65.0
Release by release
- Breaking
⚠️ Playwright no longer tests on Node.js 20. Use Node.js 22, 24 or 26, as listed in the system requirements.
- New
New built-in
-exclusive-test lock runs a test only when no other tests are running. All other tests continue to run in parallel with each other: - New
New
PLAYWRIGHT_TRANSFORM_CACHE_DIRenvironment variable sets the directory for transpiled test files, for example on a Linux machine shared with other users. - New
New options
timeoutandsignalin cdpSession.send(). - New
New testRun.mode() returns the execution mode of a suite during reporter.preprocess().
- Breaking
21 other lines we could not sort, mostly version bumps
- 1.65.0
There is no watch mode. UI mode does not run tests again when files change, and
--only-changeddoes not follow imports. - 1.65.0
Bun loads modules itself, so
--tsconfigand the JSX options intsconfig.jsonhave no effect, and custom ESM loaders are not supported. - 1.65.0
Stack traces do not include async frames, and API names do not include the class name:
clickinstead oflocator.click. This changes some step locations, step titles and error messages. - 1.65.0
Console output of a test does not get into the trace and UI mode.
- 1.65.0
test.skip(), test.fixme(), test.fail() and test.slow() now accept only a description. It is recorded in the test annotation:
- 1.65.0
TypeScript class fields now follow
useDefineForClassFieldsfrom yourtsconfig.json, the same astsc. It is enabled forES2022and later targets, and whentargetis not specified. A field initializer that reads a constructor parameter property now fails, because the initializer runs first: - 1.65.0
Actions such as locator.click(), locator.check(), locator.tap(), locator.fill(), locator.clear() and locator.selectOption() now wait for the element to be not inert. An action on an element with the
inertattribute, or inside such an element, now times out if the element stays inert. - 1.65.0
A sharded run now fails with "No tests found" when no tests match across all shards. Pass
--pass-with-no-teststo allow this. An empty shard still passes when other shards have tests. - 1.65.0
Cookie matching now follows RFC 6265. With a URL, browserContext.cookies() and apiRequestContext.cookies() no longer return host-only cookies for subdomains or
Path=/apicookies for/apiv2, and aPath=/foo/cookie does not match/foo. APIRequestContext sends a cookie without a name asCookie: xinstead ofCookie: =x, and storesSet-Cookie: tokenas a cookie without a name. - 1.65.0
Proxy credentials are no longer sent to websites. The credentials in the
proxyoption now answer only proxy challenges. To authenticate on a website, usehttpCredentials.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.