playwright-webkit
1.65.1 · 13 Nov 2026Apache-2.0146.1k / weekRepositoryHomepagenpmAtom feed
1.65.1 is the newest release of 1.x.
In short
8 new7 changed
Release note
release-1.20
Playwright v1.20 updates
Highlights
New options for methods
page.screenshot(),locator.screenshot()andelementHandle.screenshot():Option
animations: "disabled"rewinds all CSS animations and transitions to a consistent state.Option
mask: Locatormasks given elements, overlaying them with pink#FF00FFboxes.
expect().toMatchSnapshot()now supports anonymous snapshots: when snapshot name is missing, Playwright Test will generate one
automatically:expect('Web is Awesome <3').toMatchSnapshot();New
maxDiffPixelsandmaxDiffPixelRatiooptions for fine-grained screenshot comparison usingexpect().toMatchSnapshot():expect(await page.screenshot()).toMatchSnapshot({ maxDiffPixels: 27, // allow no more than 27 different pixels. });It is most convenient to specify
maxDiffPixelsormaxDiffPixelRatioonce inTestConfig.expect.Playwright Test now adds
TestConfig.fullyParallelmode. By default, Playwright Test parallelizes between files. In fully parallel mode, tests inside a single file are also run in parallel. You can also use--fully-parallelcommand line flag.// playwright.config.ts export default { fullyParallel: true, };TestProject.grepandTestProject.grepInvertare now configurable per project. For example, you can now
configure smoke tests project usinggrep:// playwright.config.ts export default { projects: [ { name: 'smoke tests', grep: /@smoke/, }, ], };Trace Viewer now shows API testing requests.
locator.highlight()visually reveals element(s) for easier debugging.
Announcements
We now ship a designated Python docker image
mcr.microsoft.com/playwright/python. Please switch over to it if you use Python. This is the last release that includes Python inside our javascriptmcr.microsoft.com/playwrightdocker image.v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit!
Browser Versions
Chromium 101.0.4921.0
Mozilla Firefox 97.0.1
WebKit 15.4
This version was also tested against the following stable channels:
Google Chrome 99
Microsoft Edge 99
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.