Skip to content

build(deps): bump playwright from 1.59.1 to 1.60.0#474

Merged
lmorchard merged 1 commit into
mainfrom
dependabot/npm_and_yarn/playwright-1.60.0
May 26, 2026
Merged

build(deps): bump playwright from 1.59.1 to 1.60.0#474
lmorchard merged 1 commit into
mainfrom
dependabot/npm_and_yarn/playwright-1.60.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps playwright from 1.59.1 to 1.60.0.

Release notes

Sourced from playwright's releases.

v1.60.0

🌐 HAR recording on Tracing

tracing.startHar() / tracing.stopHar() expose HAR recording as a first-class tracing API, with the same content, mode and urlFilter options as recordHar. The returned Disposable makes it easy to scope a recording with await using:

await using har = await context.tracing.startHar('trace.har');
const page = await context.newPage();
await page.goto('https://playwright.dev');
// HAR is finalized when `har` goes out of scope.

🪝 Drop API

New locator.drop() simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches dragenter, dragover, and drop with a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:

await page.locator('#dropzone').drop({
  files: { name: 'note.txt', mimeType: 'text/plain', buffer: Buffer.from('hello') },
});
await page.locator('#dropzone').drop({
data: {
'text/plain': 'hello world',
'text/uri-list': 'https://example.com',
},
});

🎯 Aria snapshots

🛑 test.abort()

New test.abort() aborts the currently running test from a fixture, hook, or route handler with an optional message. Use it when you have detected an unrecoverable misuse and want to fail the test right away:

test('does not publish to the shared page', async ({ page }) => {
  await page.route('**/publish', route => {
    test.abort('Tests must not publish to the shared page. Use the `clone` option.');
    return route.abort();
  });
  // ...
});

New APIs

Browser, Context and Page

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 25, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/playwright-1.60.0 branch from 9853fc0 to 9354759 Compare May 26, 2026 18:28
Bumps [playwright](https://github.com/microsoft/playwright) from 1.59.1 to 1.60.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.59.1...v1.60.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.60.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/playwright-1.60.0 branch from 9354759 to c7c002f Compare May 26, 2026 18:55
@lmorchard lmorchard merged commit 8fcf980 into main May 26, 2026
9 checks passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/playwright-1.60.0 branch May 26, 2026 19:00
srbiv pushed a commit that referenced this pull request May 27, 2026
Bumps [playwright](https://github.com/microsoft/playwright) from 1.59.1
to 1.60.0.
<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.60.0</h2>
<h2>🌐 HAR recording on Tracing</h2>
<p><a
href="https://playwright.dev/docs/api/class-tracing#tracing-start-har">tracing.startHar()</a>
/ <a
href="https://playwright.dev/docs/api/class-tracing#tracing-stop-har">tracing.stopHar()</a>
expose HAR recording as a first-class tracing API, with the same
<code>content</code>, <code>mode</code> and <code>urlFilter</code>
options as <code>recordHar</code>. The returned <a
href="https://playwright.dev/docs/api/class-disposable">Disposable</a>
makes it easy to scope a recording with <code>await using</code>:</p>
<pre lang="js"><code>await using har = await
context.tracing.startHar('trace.har');
const page = await context.newPage();
await page.goto('https://playwright.dev');
// HAR is finalized when `har` goes out of scope.
</code></pre>
<h2>🪝 Drop API</h2>
<p>New <a
href="https://playwright.dev/docs/api/class-locator#locator-drop">locator.drop()</a>
simulates an external drag-and-drop of files or clipboard-like data onto
an element. Playwright dispatches <code>dragenter</code>,
<code>dragover</code>, and <code>drop</code> with a synthetic
[DataTransfer] in the page context — works cross-browser and is great
for testing upload zones:</p>
<pre lang="js"><code>await page.locator('#dropzone').drop({
files: { name: 'note.txt', mimeType: 'text/plain', buffer:
Buffer.from('hello') },
});
<p>await page.locator('#dropzone').drop({
data: {
'text/plain': 'hello world',
'text/uri-list': '<a
href="https://example.com">https://example.com</a>',
},
});
</code></pre></p>
<h2>🎯 Aria snapshots</h2>
<ul>
<li><a
href="https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-match-aria-snapshot">expect(page).toMatchAriaSnapshot()</a>
now works on a <a
href="https://playwright.dev/docs/api/class-page">Page</a>, in addition
to a <a href="https://playwright.dev/docs/api/class-locator">Locator</a>
— equivalent to asserting against
<code>page.locator('body')</code>.</li>
<li>New <code>boxes</code> option on <a
href="https://playwright.dev/docs/api/class-locator#locator-aria-snapshot">locator.ariaSnapshot()</a>
/ <a
href="https://playwright.dev/docs/api/class-page#page-aria-snapshot">page.ariaSnapshot()</a>
appends each element's bounding box as
<code>[box=x,y,width,height]</code>, useful for AI consumption.</li>
</ul>
<h2>🛑 test.abort()</h2>
<p>New <a
href="https://playwright.dev/docs/api/class-test#test-abort">test.abort()</a>
aborts the currently running test from a fixture, hook, or route handler
with an optional message. Use it when you have detected an unrecoverable
misuse and want to fail the test right away:</p>
<pre lang="js"><code>test('does not publish to the shared page', async
({ page }) =&gt; {
  await page.route('**/publish', route =&gt; {
test.abort('Tests must not publish to the shared page. Use the `clone`
option.');
    return route.abort();
  });
  // ...
});
</code></pre>
<h2>New APIs</h2>
<h3>Browser, Context and Page</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/87bb9ddbd78f329df18c2b24847bc9409240cd07"><code>87bb9dd</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40747">#40747</a>):
fix(yauzl): vendor yauzl with destroy-lifecycle fix</li>
<li><a
href="https://github.com/microsoft/playwright/commit/9a9c51cb7d1b39fab51ca288e59f8ca38fd19910"><code>9a9c51c</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40733">#40733</a>):
chore(electron): revert <a
href="https://redirect.github.com/microsoft/playwright/issues/40184">#40184</a>
(move Electron API to a s...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/4b3b628663031bcaaeca907e337892263524634d"><code>4b3b628</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40736">#40736</a>):
Revert &quot;feat(electron): add timeout option to electronAp...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/f869f96bbe6607cc3b88b4ca96fd82f17b301b50"><code>f869f96</code></a>
chore: bump version to v1.60.0 (<a
href="https://redirect.github.com/microsoft/playwright/issues/40714">#40714</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/7eb6918afadfb0dd5c7e94ca9ffbddd84d8fbb39"><code>7eb6918</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40710">#40710</a>):
docs: release notes v1.60</li>
<li><a
href="https://github.com/microsoft/playwright/commit/118d2aa6076d82840decca15d96b48611b08e392"><code>118d2aa</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40693">#40693</a>):
chore(python): formdata path type</li>
<li><a
href="https://github.com/microsoft/playwright/commit/54012f5dcc586da2e5d6cccd75f13ca367b94579"><code>54012f5</code></a>
chore(deps): bump ip-address and express-rate-limit (<a
href="https://redirect.github.com/microsoft/playwright/issues/40680">#40680</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/9fa531da5677a3807d6e1dccd22c5137339a44f7"><code>9fa531d</code></a>
fix(screencast): unblock frame ack when an async client disconnects (<a
href="https://redirect.github.com/microsoft/playwright/issues/40674">#40674</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/3649db560ff943e724185784d34f7db131a11961"><code>3649db5</code></a>
chore(mcp): bump default extension protocol to v2 (<a
href="https://redirect.github.com/microsoft/playwright/issues/40678">#40678</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/bb6c00957f47ba04caad7fca75d426309a2d32d4"><code>bb6c009</code></a>
chore(extension): mark 0.2.1 (<a
href="https://redirect.github.com/microsoft/playwright/issues/40679">#40679</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright/compare/v1.59.1...v1.60.0">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant