Skip to content

Update dependency playwright to ~1.60.0#179

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/playwright-monorepo
Open

Update dependency playwright to ~1.60.0#179
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/playwright-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 10, 2026

This PR contains the following updates:

Package Change Age Confidence
playwright (source) ~1.56.0~1.60.0 age confidence

Release Notes

microsoft/playwright (playwright)

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

v1.59.1

Compare Source

v1.59.0

Compare Source

v1.58.2

Compare Source

v1.58.1

Compare Source

Highlights

#​39036 fix(msedge): fix local network permissions
#​39037 chore: update cft download location
#​38995 chore(webkit): disable frame sessions on fronzen builds

Browser Versions
  • Chromium 145.0.7632.6
  • Mozilla Firefox 146.0.1
  • WebKit 26.0

v1.58.0

Compare Source

v1.57.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • 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 becomes conflicted, or you tick the rebase/retry checkbox.

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


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

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

@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch from faa2942 to d3f5e3c Compare March 13, 2026 10:40
@renovate renovate Bot changed the title Update dependency playwright to ~1.58.0 fix(deps): update dependency playwright to ~1.58.0 Mar 25, 2026
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch 2 times, most recently from 083d13d to 98eeb60 Compare April 1, 2026 01:47
@renovate renovate Bot changed the title fix(deps): update dependency playwright to ~1.58.0 fix(deps): update dependency playwright to ~1.59.0 Apr 1, 2026
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch from 98eeb60 to 67f7efb Compare April 1, 2026 20:05
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch from 67f7efb to 098166f Compare April 8, 2026 21:00
@renovate renovate Bot changed the title fix(deps): update dependency playwright to ~1.59.0 Update dependency playwright to ~1.59.0 Apr 8, 2026
@renovate renovate Bot changed the title Update dependency playwright to ~1.59.0 fix(deps): update dependency playwright to ~1.59.0 Apr 14, 2026
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch 2 times, most recently from 40bed2b to d7c6f1b Compare April 14, 2026 12:09
@renovate renovate Bot changed the title fix(deps): update dependency playwright to ~1.59.0 Update dependency playwright to ~1.59.0 Apr 14, 2026
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch from d7c6f1b to 0710f3e Compare April 22, 2026 09:25
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch from 0710f3e to 6ed20c7 Compare April 29, 2026 13:48
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch from 6ed20c7 to cb397ea Compare May 11, 2026 22:00
@renovate renovate Bot changed the title Update dependency playwright to ~1.59.0 Update dependency playwright to ~1.60.0 May 11, 2026
@renovate renovate Bot force-pushed the renovate/playwright-monorepo branch from cb397ea to 4d6e1c5 Compare May 18, 2026 11:38
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.

0 participants