Skip to content

pkg: Update playwright monorepo to v1.60.0 - #3962

Merged
ntucker merged 1 commit into
masterfrom
renovate/playwright-monorepo
May 19, 2026
Merged

pkg: Update playwright monorepo to v1.60.0#3962
ntucker merged 1 commit into
masterfrom
renovate/playwright-monorepo

Conversation

@renovate

@renovate renovate Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@playwright/test (source) 1.59.11.60.0 age adoption passing confidence
playwright (source) 1.59.11.60.0 age adoption passing confidence

Release Notes

microsoft/playwright (@​playwright/test)

v1.60.0

Compare Source

🌐 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
Locators and Assertions
Network
  • webSocketRoute.protocols() returns the WebSocket subprotocols requested by the page.
  • New option noDefaults in browserType.connectOverCDP() disables Playwright's default overrides on the default context (download behavior, focus emulation, media emulation), so attaching to a user's daily-driver browser doesn't disturb its state.
Errors and Reporting
Test runner
  • New {testFileBaseName} token in testProject.snapshotPathTemplate — file name without extension.
  • Test runner now errors when a config tries to override a non-option fixture, and rejects workers: 0 or negative values.

🛠️ Other improvements

  • HTML reporter:
    • npx playwright show-report accepts .zip files directly — no need to unzip first.
    • Steps that contain attachments inside nested children show an indicator on the parent step.
    • The repeatEachIndex is shown in the test header when non-zero.
  • Trace Viewer adds a pretty-print toggle for JSON / form request and response bodies in the network details panel.

Breaking Changes ⚠️

  • Removed long-deprecated APIs:
    • Locator.ariaRef() — use the standard locator.ariaSnapshot() pipeline.
    • handle option on BrowserContext.exposeBinding and Page.exposeBinding.
    • logger option on BrowserType.connect and BrowserType.connectOverCDP — use tracing instead.
    • Context options videosPath / videoSize — use recordVideo instead.

Browser Versions

  • Chromium 148.0.7778.96
  • Mozilla Firefox 150.0.2
  • WebKit 26.4

This version was also tested against the following stable channels:

  • Google Chrome 147
  • Microsoft Edge 147

Configuration

📅 Schedule: (in timezone America/Chicago)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs-site Ignored Ignored Preview May 19, 2026 9:37am

Request Review

@changeset-bot

changeset-bot Bot commented May 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 49873df

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 81.1 kB

ℹ️ View Unchanged
Filename Size
examples/test-bundlesize/dist/App.js 1.46 kB
examples/test-bundlesize/dist/polyfill.js 307 B
examples/test-bundlesize/dist/rdcClient.js 10.8 kB
examples/test-bundlesize/dist/rdcEndpoint.js 8.07 kB
examples/test-bundlesize/dist/react.js 59.7 kB
examples/test-bundlesize/dist/webpack-runtime.js 726 B

compressed-size-action

@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.21%. Comparing base (b1d7111) to head (49873df).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3962   +/-   ##
=======================================
  Coverage   98.21%   98.21%           
=======================================
  Files         154      154           
  Lines        3024     3024           
  Branches      601      601           
=======================================
  Hits         2970     2970           
  Misses         11       11           
  Partials       43       43           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark React

Details
Benchmark suite Current: 49873df Previous: b1d7111 Ratio
data-client: getlist-100 144.93 ops/s (± 4.9%) 136.99 ops/s (± 4.3%) 0.95
data-client: getlist-500 41.15 ops/s (± 5.6%) 41.93 ops/s (± 4.7%) 1.02
data-client: update-entity 400 ops/s (± 11.2%) 400 ops/s (± 10.1%) 1
data-client: update-user 344.83 ops/s (± 7.9%) 370.37 ops/s (± 7.8%) 1.07
data-client: getlist-500-sorted 44.94 ops/s (± 8.9%) 40.74 ops/s (± 9.1%) 0.91
data-client: update-entity-sorted 333.33 ops/s (± 6.6%) 370.37 ops/s (± 7.1%) 1.11
data-client: update-entity-multi-view 416.67 ops/s (± 5.0%) 370.37 ops/s (± 7.4%) 0.89
data-client: list-detail-switch-10 7.79 ops/s (± 8.4%) 8.35 ops/s (± 10.7%) 1.07
data-client: update-user-10000 72.2 ops/s (± 13.8%) 89.29 ops/s (± 11.7%) 1.24
data-client: invalidate-and-resolve 38.02 ops/s (± 5.6%) 35.09 ops/s (± 5.1%) 0.92
data-client: unshift-item 232.56 ops/s (± 5.1%) 238.1 ops/s (± 4.2%) 1.02
data-client: delete-item 298.57 ops/s (± 4.6%) 303.03 ops/s (± 5.3%) 1.01
data-client: move-item 172.41 ops/s (± 9.3%) 181.82 ops/s (± 10.0%) 1.05

This comment was automatically generated by workflow using github-action-benchmark.

@ntucker
ntucker merged commit 2b44f27 into master May 19, 2026
23 checks passed
@ntucker
ntucker deleted the renovate/playwright-monorepo branch May 19, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant