Bump playwright from 1.63.0 to 1.64.1
Bumps playwright from 1.63.0 to 1.64.1.
Release notes
Sourced from playwright's releases.
v1.64.1
Bug Fixes
- #43247 [Bug]: _electron.launch intermittently loses a packaged app's first window since 1.64.0
- #43242 [Regression]: Chromium 155+ aborts a preflighted cross-origin redirect whenever any route is registered (net::ERR_ABORTED)
v1.64.0
🧰 WebMCP
New page.webmcp and frame.webmcp give access to the tools that a page registers through the experimental WebMCP browser API, so you can test them like any other part of your app:
const browser = await chromium.launch({ args: ['--enable-features=WebMCP'] }); const page = await browser.newPage(); await page.goto('https://example.com');for (const tool of await page.webmcp.tools()) console.log(tool.name, tool.description);
const result = await page.webmcp.callTool('add', { a: 2, b: 40 }); console.log(result.content[0].text); // "42"Playwright MCP also supports WebMCP by default, with page-defined tools offered to the agent as
webmcp_<tool>. Pass--no-webmcpto opt out.
playwright-cliexposes them as well:playwright-cli webmcp-list playwright-cli webmcp-call search_catalog --params '{"query":"cats"}'🎬 Better videos
Videos can now be recorded at a custom frame rate, and the decorations for actions are styled with plain CSS:
// playwright.config.ts import { defineConfig } from '@playwright/test';
export default defineConfig({ use: { video: { mode: 'on', size: { width: 1920, height: 1080 }, fps: 60, show: { actions: { style: { point: 'width: 20px; height: 20px; border-radius: 50%; background: red', </tr></table>
... (truncated)
Commits
cfe490dcherry-pick(#43353): docs: release notes for v1.64 Python866cbb8chore: mark v1.64.1 (#43354)1b29247cherry-pick(#43250): fix(electron): do not drop windows that have not navigat...632d976cherry-pick(#43249): fix(chromium): disable AvoidCorsURLLoaderRestartOnRedirect824d0c5cherry-pick(#43217): chore(dotnet): fix async suffix of optional-arg overload...606ecd8cherry-pick(#43192): fix(locators): parse locators the way the client API bui...e4f872ccherry-pick(#43188): feat(api): expose asLocatorDescription via LocalUtils fo...f6a439echerry-pick(#43189): docs(webmcp): expose WebMCP to all languagese2335c3cherry-pick(#43174): fix(mcp): do not close the browser twice when the client...d2a436echerry-pick(#43163): Revert "fix(blob): do not remove existing reports from o...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates playwright from 1.63.0 to 1.64.1. This adds support for testing WebMCP tools, custom video frame rates, and fixes a regression that caused Electron apps to lose their first window and Chromium to abort cross-origin redirects when routes were registered.