Skip to content

chore(deps): update dependency @playwright/test to v1.60.0#576

Open
renovate[bot] wants to merge 1 commit into
sagafrom
renovate/playwright
Open

chore(deps): update dependency @playwright/test to v1.60.0#576
renovate[bot] wants to merge 1 commit into
sagafrom
renovate/playwright

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Oct 6, 2025

This PR contains the following updates:

Package Change Age Confidence
@playwright/test (source) 1.55.11.60.0 age 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

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

v1.56.1

Compare Source

Highlights

#​37871 chore: allow local-network-access permission in chromium
#​37891 fix(agents): remove workspaceFolder ref from vscode mcp
#​37759 chore: rename agents to test agents
#​37757 chore(mcp): fallback to cwd when resolving test config

Browser Versions

  • Chromium 141.0.7390.37
  • Mozilla Firefox 142.0.1
  • WebKit 26.0

v1.56.0

Compare Source

Playwright Agents

Introducing Playwright Agents, three custom agent definitions designed to guide LLMs through the core process of building a Playwright test:

  • 🎭 planner explores the app and produces a Markdown test plan
  • 🎭 generator transforms the Markdown plan into the Playwright Test files
  • 🎭 healer executes the test suite and automatically repairs failing tests

Run npx playwright init-agents with your client of choice to generate the latest agent definitions:

### Generate agent files for each agentic loop
### Visual Studio Code
npx playwright init-agents --loop=vscode

### Claude Code
npx playwright init-agents --loop=claude

### opencode
npx playwright init-agents --loop=opencode

[!NOTE]
VS Code v1.105 (currently on the VS Code Insiders channel) is needed for the agentic experience in VS Code. It will become stable shortly, we are a bit ahead of times with this functionality!

Learn more about Playwright Agents

New APIs

UI Mode and HTML Reporter

  • Added option to 'html' reporter to disable the "Copy prompt" button
  • Added option to 'html' reporter and UI Mode to merge files, collapsing test and describe blocks into a single unified list
  • Added option to UI Mode mirroring the --update-snapshots options
  • Added option to UI Mode to run only a single worker at a time

Breaking Changes

Miscellaneous

  • Aria snapshots render and compare input placeholder
  • Added environment variable PLAYWRIGHT_TEST to Playwright worker processes to allow discriminating on testing status

Browser Versions

  • Chromium 141.0.7390.37
  • Mozilla Firefox 142.0.1
  • WebKit 26.0

Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Enabled.

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 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 added dependencies help wanted Extra attention is needed labels Oct 6, 2025
@renovate renovate Bot force-pushed the renovate/playwright branch from 5268840 to 07b0c9d Compare October 8, 2025 11:06
@renovate renovate Bot force-pushed the renovate/playwright branch from 07b0c9d to 7f87c6a Compare October 9, 2025 10:01
@renovate renovate Bot force-pushed the renovate/playwright branch from 7f87c6a to 9f1019f Compare October 9, 2025 13:51
@renovate renovate Bot force-pushed the renovate/playwright branch from 9f1019f to 773b21e Compare October 9, 2025 23:01
@renovate renovate Bot changed the title chore(deps): update mcr.microsoft.com/playwright docker tag to v1.56.0 chore(deps): update playwright to v1.56.0 Oct 9, 2025
@renovate renovate Bot force-pushed the renovate/playwright branch from 773b21e to 671c01b Compare October 11, 2025 12:45
@renovate renovate Bot force-pushed the renovate/playwright branch from 671c01b to 1b16ba0 Compare October 12, 2025 00:35
@renovate renovate Bot force-pushed the renovate/playwright branch from 248bca1 to 8ea29ea Compare October 14, 2025 00:50
@renovate renovate Bot force-pushed the renovate/playwright branch from 8ea29ea to fd2896a Compare October 14, 2025 18:58
@renovate renovate Bot force-pushed the renovate/playwright branch from fd2896a to bbe3c21 Compare October 15, 2025 02:09
@renovate renovate Bot force-pushed the renovate/playwright branch from bbe3c21 to f37e68e Compare October 16, 2025 09:01
@renovate renovate Bot force-pushed the renovate/playwright branch from f37e68e to a768937 Compare October 17, 2025 04:47
@renovate renovate Bot changed the title chore(deps): update playwright to v1.56.0 chore(deps): update playwright Oct 17, 2025
@renovate renovate Bot force-pushed the renovate/playwright branch from a768937 to 4daa7af Compare October 18, 2025 01:53
@renovate renovate Bot force-pushed the renovate/playwright branch from 4daa7af to 1e98561 Compare October 18, 2025 04:50
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Nov 6, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​playwright/​test@​1.55.1 ⏵ 1.60.010010010099100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants