LAFU Sales Reports

Bump playwright from 1.56.1 to 1.64.1

FeatureOpenView on roadmap· 10 days ago

Imported from GitHub pull request El-SaMa/byeai#3 by @dependabot[bot].


⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps playwright from 1.56.1 to 1.64.1.

<details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases">playwright's releases</a>.</em></p> <blockquote> <h2>v1.64.1</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://redirect.github.com/microsoft/playwright/issues/43247">#43247</a> [Bug]: _electron.launch intermittently loses a packaged app's first window since 1.64.0</li> <li><a href="https://redirect.github.com/microsoft/playwright/issues/43242">#43242</a> [Regression]: Chromium 155+ aborts a preflighted cross-origin redirect whenever any route is registered (net::ERR_ABORTED)</li> </ul> <h2>v1.64.0</h2> <h2>🧰 WebMCP</h2> <p>New <a href="https://playwright.dev/docs/api/class-page#page-webmcp">page.webmcp</a> and <a href="https://playwright.dev/docs/api/class-frame#frame-webmcp">frame.webmcp</a> give access to the tools that a page registers through the experimental <a href="https://playwright.dev/docs/api/class-webmcp">WebMCP</a> browser API, so you can test them like any other part of your app:</p> <pre lang="js"><code>const browser = await chromium.launch({ args: ['--enable-features=WebMCP'] }); const page = await browser.newPage(); await page.goto('https://example.com'); <p>for (const tool of await page.webmcp.tools()) console.log(tool.name, tool.description);</p> <p>const result = await page.webmcp.callTool('add', { a: 2, b: 40 }); console.log(result.content[0].text); // &quot;42&quot; </code></pre></p> <p><a href="https://playwright.dev/docs/getting-started-mcp">Playwright MCP</a> also supports WebMCP by default, with page-defined tools offered to the agent as <code>webmcp_&lt;tool&gt;</code>. Pass <code>--no-webmcp</code> to opt out.</p> <p><a href="https://playwright.dev/docs/getting-started-cli"><code>playwright-cli</code></a> exposes them as well:</p> <pre lang="bash"><code>playwright-cli webmcp-list playwright-cli webmcp-call search_catalog --params '{&quot;query&quot;:&quot;cats&quot;}' </code></pre> <h2>🎬 Better videos</h2> <p>Videos can now be recorded at a custom frame rate, and the decorations for actions are styled with plain CSS:</p> <pre lang="js"><code>// playwright.config.ts import { defineConfig } from '@playwright/test'; <p>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', &lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/cfe490d941f992655948eee8fd4fd94e1c4234bf"><code>cfe490d</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43353">#43353</a>): docs: release notes for v1.64 Python</li> <li><a href="https://github.com/microsoft/playwright/commit/866cbb864009f84d7e8e41c64fdbfceff43f280d"><code>866cbb8</code></a> chore: mark v1.64.1 (<a href="https://redirect.github.com/microsoft/playwright/issues/43354">#43354</a>)</li> <li><a href="https://github.com/microsoft/playwright/commit/1b2924712024804936dbcfe9fabaa655d52325e5"><code>1b29247</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43250">#43250</a>): fix(electron): do not drop windows that have not navigat...</li> <li><a href="https://github.com/microsoft/playwright/commit/632d976826c74b0163fd5201a05b7b4853ba3f4a"><code>632d976</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43249">#43249</a>): fix(chromium): disable AvoidCorsURLLoaderRestartOnRedirect</li> <li><a href="https://github.com/microsoft/playwright/commit/824d0c5d1e10f21fcbe88d18a99d06194acde77c"><code>824d0c5</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43217">#43217</a>): chore(dotnet): fix async suffix of optional-arg overload...</li> <li><a href="https://github.com/microsoft/playwright/commit/606ecd8b34bac100db32561b6278ffd76e5eb3cd"><code>606ecd8</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43192">#43192</a>): fix(locators): parse locators the way the client API bui...</li> <li><a href="https://github.com/microsoft/playwright/commit/e4f872c79530583300185d3e4aa9689e2f85d0b0"><code>e4f872c</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43188">#43188</a>): feat(api): expose asLocatorDescription via LocalUtils fo...</li> <li><a href="https://github.com/microsoft/playwright/commit/f6a439e6f496f75d8e8b687116eef8c21316aa1f"><code>f6a439e</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43189">#43189</a>): docs(webmcp): expose WebMCP to all languages</li> <li><a href="https://github.com/microsoft/playwright/commit/e2335c30f16196a96f81c099598803ca74f9120c"><code>e2335c3</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43174">#43174</a>): fix(mcp): do not close the browser twice when the client...</li> <li><a href="https://github.com/microsoft/playwright/commit/d2a436e0111091ba99836fa6711de28201606cfc"><code>d2a436e</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43163">#43163</a>): Revert &quot;fix(blob): do not remove existing reports from o...</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.56.1...v1.64.1">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

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.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>

Comments (0)

No comments yet.

Join the discussion

Sign in to leave a comment on this thread.

HollahoopGet yours