Repository navigation
Roll to v1.64.1
This release rolls the bundled Playwright driver from v1.62.1 to v1.64.1 (Chromium 156.0.8078.4, Firefox 157.0, WebKit 27.2) and ports the v1.63 and v1.64 client APIs. The Chromium update includes the fix for CVE-2026-79219.
Important
This release pins a new driver version. After upgrading, reinstall the driver:
go run github.com/mxschmitt/playwright-go/cmd/playwright@v0.6401.0 install --with-deps
New APIs
v1.63:
Page.FrameLocator()andFrame.FrameLocator()without a selector search every frame.Locator.Visible().Page.OnDialogClosedandBrowserContext.OnDialogClosed("dialogclosed"event).HttpCredentialsListcontext option (Browser, BrowserType and APIRequest) for different credentials per origin.Opfsoption onBrowserContext.StorageStateandAPIRequestContext.StorageState(Origin.Opfs []OPFSEntry).AriaSnapshotsandScreenSnapshotsoptions onTracing.Start.
v1.64:
APIRequestContext.AddCookies,CookiesandClearCookies.Locator.Within,Page.GetByRef.IncludeShadowoption onPage.ContentandFrame.Content.Page.WebMCP()andFrame.WebMCP()withWebMCP.ToolsandWebMCP.CallTool.RecordVideo.Fps,ScreencastStartOptions.Fps, andStyle(ScreencastActionStyle) for screencast and video actions.SignCountonVirtualCredentialandCredentialsCreateOptions.
Behavior changes
- Protocol call ids are now strings (
<prefix>@<n>), as required by the v1.63+ driver. httpCredentialsis always sent to the driver as a list.- Locators derived from a locator that carries an error (
First,Last,Nth,Filter,Visible,And,Or, …) keep that error, including the existing errors for unsupportedGetBy*arguments. - The bundled Node.js runtime moves to 24.21.0.
Fixes
- Locator assertion errors include the driver's custom error message (e.g.
frameLocator() matched elements in multiple frames). StorageStatePathsends the file's JSON as is, so IndexedDB and OPFS entries reach the driver.Screencast.StartwithPathnow saves the video onStop.- The traces dir and tracing stack counter also apply to
BrowserContext.Request().Tracing(). WaitForLoadStateandWaitForURLno longer miss a state recorded between the initial check and subscribing (#641).- Unknown guids in CDP event payloads pass through instead of failing (#642).
- Fixed a deadlock between
Unrouteand in-flight route interception (#643).
What's Changed
- fix: flaky navigation timeouts caused by a lost wakeup in WaitForLoadState and WaitForURL by @myrjola in #641
- fix: leave unbound guids in event payloads untouched instead of closing the connection by @pcockrill in #642
- test: live CDP download guid coverage and unroute interception deadlock fix by @mxschmitt in #643
- chore: roll to Playwright v1.64.1 by @zacker150 in #645
New Contributors
- @myrjola made their first contribution in #641
- @pcockrill made their first contribution in #642
- @zacker150 made their first contribution in #645
Full Changelog: v0.6201.1...v0.6401.0