Traceary

Catalog / Testing

Playwright changelog

Browser automation and end to end test runner for Chromium, Firefox and WebKit.

Latest
1.62.1
Shipped
30 Jul 202627 days ago
Collected
60 releasesback to 15 Jun 2023
Source
microsoft/playwright
Project
playwright.dev
Feed
RSS

Read today, the first day on record. Collection status

Version history

1.x60 releases
1.62.1

Bug Fixes #41989 [Regression]: tsconfig "extends" bare specifier isn't resolved via node_modules walk-up like tsc (fatal since 1.62) #41998 [Regression]: directory-form tsconfig project references ("path": "../pkg") fail to resolve (fatal s

fixed
1.62.0

🧱 New component testing model Component testing moves to a stories and galleries model. A story wraps your component in one specific scenario — hard-coded props, mock data, providers — and a gallery page that you serve renders stories on d

addedfixedchanged
1.61.1

Bug Fixes #41365 [Bug]: Expect.Extend matcher with same name as default matcher in same expect instance overrides default matchers implementation to custom matcher #41351 [Bug]: Playwright UI mode: apiRequestContext._wrapApiCall reports une

fixed
1.61.0

🔑 WebAuthn passkeys New Credentials virtual authenticator, available via browserContext.credentials, lets tests register passkeys and answer navigator.credentials.create() / navigator.credentials.get() ceremonies in the page — no real hard

added
1.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

breakingaddeddeprecated
1.59.1

Bug Fixes [Windows] Reverted hiding console window when spawning browser processes, which caused regressions including broken codegen, --ui and show commands (#39990)

fixed
1.59.0

🎬 Screencast New page.screencast API provides a unified interface for capturing page content with: Screencast recordings Action annotations Visual overlays Real-time frame capture Agentic video receipts Screencast recording — record video

breakingaddedfixed
1.58.2

Highlights #39121 fix(trace viewer): make paths via stdin work #39129 fix: do not force swiftshader on chromium mac Browser Versions Chromium 145.0.7632.6 Mozilla Firefox 146.0.1 WebKit 26.0

1.58.1

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.

changed
1.58.0

📣 Playwright CLI+SKILLs 📣 We are adding a new token-efficient CLI mode of operation to Playwright with the skills located at playwright-cli. This brings the long-awaited official SKILL-focused CLI mode to our story and makes it more codin

breakingaddedremoved
1.57.0

Speedboard In HTML reporter, there's a new tab we call "Speedboard": It shows you all your executed tests sorted by slowness, and can help you understand where your test suite is taking longer than expected. Take a look at yours - maybe you

breakingaddeddeprecated
1.56.1

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 conf

1.56.0

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 transf

breakingaddedchanged
1.55.1

Highlights https://github.com/microsoft/playwright/issues/37479 - [Bug]: Upgrade Chromium to 140.0.7339.186. https://github.com/microsoft/playwright/issues/37147 - [Regression]: Internal error: step id not found. https://github.com/microsof

1.55.0

New APIs New Property testStepInfo.titlePath Returns the full title path starting from the test file, including test and step titles. Codegen Automatic toBeVisible() assertions: Codegen can now generate automatic toBeVisible() assertions fo

breakingadded
1.54.2

Highlights https://github.com/microsoft/playwright/issues/36714 - [Regression]: Codegen is not able to launch in Administrator Terminal on Windows (ProtocolError: Protocol error) https://github.com/microsoft/playwright/issues/36828 - [Regre

1.54.1

Highlights https://github.com/microsoft/playwright/issues/36650 - [Regression]: 1.54.0 breaks downloading browsers when an HTTP(S) proxy is used Browser Versions Chromium 139.0.7258.5 Mozilla Firefox 140.0.2 WebKit 26.0 This version was als

1.54.0

Highlights New cookie property partitionKey in browserContext.cookies() and browserContext.addCookies(). This property allows to save and restore partitioned cookies. See CHIPS MDN article for more information. Note that browsers have diffe

addeddeprecatedremoved
1.53.2

Highlights https://github.com/microsoft/playwright/issues/36317 - [Regression]: Merging pre-1.53 blob reports loses attachments https://github.com/microsoft/playwright/pull/36357 - [Regression (Chromium)]: CDP missing trailing slash https:/

1.53.1

Highlights https://github.com/microsoft/playwright/issues/36339 - [Regression]: Click can fail when scrolling required https://github.com/microsoft/playwright/issues/36307 - [Regression (Chromium)]: Under some scenarios filling a textarea d

1.53.0

Trace Viewer and HTML Reporter Updates New Steps in Trace Viewer and HTML reporter: New option in 'html' reporter to set the title of a specific test run: import { defineConfig } from '@playwright/test'; export default defineConfig({ report

addedchanged
1.52.0

Highlights New method expect(locator).toContainClass() to ergonomically assert individual class names on the element. await expect(page.getByRole('listitem', { name: 'Ship v1.52' })).toContainClass('done'); Aria Snapshots got two new proper

breakingaddedchanged
1.51.1

Highlights https://github.com/microsoft/playwright/issues/35093 - [Regression]: TimeoutOverflowWarning: 2149630296.634 does not fit into a 32-bit signed integer https://github.com/microsoft/playwright/issues/35138 - [Regression]: TypeError:

1.51.0

StorageState for indexedDB New option indexedDB for browserContext.storageState() allows to save and restore IndexedDB contents. Useful when your application uses IndexedDB API to store authentication tokens, like Firebase Authentication. H

added
1.50.1

Highlights https://github.com/microsoft/playwright/issues/34483 - [Feature]: single aria snapshot for different engines/browsers https://github.com/microsoft/playwright/issues/34497 - [Bug]: Firefox not handling keepalive: true fetch reques

changed
1.50.0

Test runner New option timeout allows specifying a maximum run time for an individual test step. A timed-out step will fail the execution of the test. test('some test', async ({ page }) => { await test.step('a step', async () => { // This s

addedfixedchanged
1.49.1

Highlights https://github.com/microsoft/playwright/issues/33802 - [Bug]: Codegen's Clear button doesn't work if not recording https://github.com/microsoft/playwright/issues/33806 - [Bug]: playwright hangs while waiting for pending navigatio

1.49.0

Aria snapshots New assertion expect(locator).toMatchAriaSnapshot() verifies page structure by comparing to an expected accessibility tree, represented as YAML. await page.goto('https://playwright.dev'); await expect(page.locator('body')).to

breakingaddedchanged
1.48.2

Highlights https://github.com/microsoft/playwright/issues/33141 - [Bug]: UI Mode crashed https://github.com/microsoft/playwright/issues/33219 - [BUG] Trace Viewer PWA crashes with "Aw, Snap!" https://github.com/microsoft/playwright/issues/3

1.48.1

Highlights https://github.com/microsoft/playwright/issues/33023 - [Bug]: command line flag --headed has no effect in ui mode https://github.com/microsoft/playwright/issues/33107 - [REGRESSION]: page.waitForRequest does not get resolved sinc

1.48.0

WebSocket routing New methods page.routeWebSocket() and browserContext.routeWebSocket() allow to intercept, modify and mock WebSocket connections initiated in the page. Below is a simple example that mocks WebSocket communication by respond

securityaddedchanged
1.47.2

Highlights https://github.com/microsoft/playwright/pull/32699- [REGRESSION]: fix(codegen): use content_frame property in python/.NET https://github.com/microsoft/playwright/issues/32706- [REGRESSION]: page.pause() does not pause test timeou

1.47.1

Highlights https://github.com/microsoft/playwright/issues/32480 - [REGRESSION]: tsconfig.json's compilerOptions.paths no longer working in 1.47 https://github.com/microsoft/playwright/issues/32552 - [REGRESSION]: broken UI in Trace Viewer w

1.47.0

Network Tab improvements The Network tab in the UI mode and trace viewer has several nice improvements: filtering by asset type and URL better display of query string parameters preview of font assets Credit to @kubajanik for these wonderfu

addeddeprecated
1.46.1

Highlights https://github.com/microsoft/playwright/issues/32004 - [REGRESSION]: Client Certificates don't work with Microsoft IIS https://github.com/microsoft/playwright/issues/32004 - [REGRESSION]: Websites stall on TLS handshake errors wh

changed
1.46.0

TLS Client Certificates Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication. When client certificates are specified, all browser traffic is routed through a pro

breakingaddedchanged
1.45.3

Highlights https://github.com/microsoft/playwright/issues/31764 - [Bug]: some actions do not appear in the trace file https://github.com/microsoft/playwright-java/issues/1617 - [Bug]: Traceviewer not reporting all actions Browser Versions C

1.45.2

Highlights https://github.com/microsoft/playwright/issues/31613 - [REGRESSION]: Trace is not showing any screenshots nor test name https://github.com/microsoft/playwright/issues/31601 - [REGRESSION]: missing trace for 2nd browser https://gi

1.45.1

Highlights https://github.com/microsoft/playwright/issues/31473 - [REGRESSION]: Playwright raises an error ENOENT: no such file or directory, open 'test-results/.playwright-artifacts-0/hash.zip' with Electron https://github.com/microsoft/pl

security
1.45.0

Clock Utilizing the new Clock API allows to manipulate and control time within tests to verify time-related behavior. This API covers many common scenarios, including: testing with predefined time; keeping consistent time and timers; monito

addedchanged
1.44.1

Highlights https://github.com/microsoft/playwright/issues/30779 - [REGRESSION]: When using video: 'on' with VSCode extension the browser got closed https://github.com/microsoft/playwright/issues/30755 - [REGRESSION]: Electron launch with sp

1.44.0

New APIs Accessibility assertions expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name: const locator = page.getByRole('button'); await expect(locator).toHaveAccessibleName('Submit'); expect(locator

added
1.43.1

Highlights https://github.com/microsoft/playwright/issues/30300 - [REGRESSION]: UI mode restarts if keep storage state https://github.com/microsoft/playwright/issues/30339 - [REGRESSION]: Brand new install of playwright, unable to run chrom

added
1.43.0

New APIs Method browserContext.clearCookies() now supports filters to remove only some cookies. // Clear all cookies. await context.clearCookies(); // New: clear cookies with a particular name. await context.clearCookies({ name: 'session-id

addedchangedremoved
1.42.1

Highlights https://github.com/microsoft/playwright/issues/29732 - [Regression]: HEAD requests to webServer.url since v1.42.0 https://github.com/microsoft/playwright/issues/29746 - [Regression]: Playwright CT CLI scripts fail due to broken i

1.42.0

New APIs Test tags New tag syntax for adding tags to the tests (@-tokens in the test title are still supported). test('test customer login', { tag: ['@fast', '@login'] }, async ({ page }) => { // ... }); Use --grep command line option to ru

breakingadded
1.41.2

Highlights https://github.com/microsoft/playwright/issues/29123 - [REGRESSION] route.continue: Protocol error (Fetch.continueRequest): Invalid InterceptionId. Browser Versions Chromium 121.0.6167.57 Mozilla Firefox 121.0 WebKit 17.4 This ve

1.41.1

Highlights https://github.com/microsoft/playwright/issues/29067 - [REGRESSION] Codegen/Recorder: not all clicks are being actioned nor recorded https://github.com/microsoft/playwright/issues/29028 - [REGRESSION] React component tests throw

1.41.0

New APIs New method page.unrouteAll([options]) removes all routes registered by page.route(url, handler, handler[, options]) and page.routeFromHAR(har[, options]). Optionally allows to wait for ongoing routes to finish, or ignore any errors

addedremoved
1.40.1

Highlights https://github.com/microsoft/playwright/issues/28319 - [REGRESSION]: Version 1.40.0 Produces corrupted traces https://github.com/microsoft/playwright/issues/28371 - [BUG] The color of the 'ok' text did not change to green in the

1.40.0

Test Generator Update New tools to generate assertions: "Assert visibility" tool generates expect(locator).toBeVisible(). "Assert value" tool generates expect(locator).toHaveValue(value). "Assert text" tool generates expect(locator).toConta

addedchanged
1.39.0

Add custom matchers to your expect You can extend Playwright assertions by providing custom matchers. These matchers will be available on the expect object. import { expect as baseExpect } from '@playwright/test'; export const expect = base

added
1.38.1

Highlights https://github.com/microsoft/playwright/issues/27071 - expect(value).toMatchSnapshot() deprecation announcement on V1.38 https://github.com/microsoft/playwright/issues/27072 - [BUG] PWT trace viewer fails to load trace and throws

deprecated
1.38.0

UI Mode Updates Zoom into time range. Network panel redesign. New APIs browserContext.on('weberror') locator.pressSequentially() The reporter.onEnd() now reports startTime and total run duration. Deprecations The following methods were depr

breakingaddedchanged
1.37.1

Highlights https://github.com/microsoft/playwright/issues/26496 - [REGRESSION] webServer stdout is always getting printed https://github.com/microsoft/playwright/issues/26492 - [REGRESSION] test.only with project dependency is not working B

1.37.0

Watch the overview: Playwright 1.36 & 1.37 ✨ New tool to merge reports If you run tests on multiple shards, you can now merge all reports in a single HTML report (or any other report) using the new merge-reports CLI tool. Using merge-report

addedchanged
1.36.2

Highlights https://github.com/microsoft/playwright/issues/24316 - [REGRESSION] Character classes are not working in globs in 1.36 Browser Versions Chromium 115.0.5790.75 Mozilla Firefox 115.0 WebKit 17.0 This version was also tested against

1.36.1

Highlights https://github.com/microsoft/playwright/issues/24184 - [REGRESSION]: Snapshot name contains some random string after test name when tests are run in container Browser Versions Chromium 115.0.5790.75 Mozilla Firefox 115.0 WebKit 1

1.36.0

Watch the overview: Playwright 1.36 & 1.37 Highlights 🏝️ Summer maintenance release. Browser Versions Chromium 115.0.5790.75 Mozilla Firefox 115.0 WebKit 17.0 This version was also tested against the following stable channels: Google Chrom

1.35.1

Highlights https://github.com/microsoft/playwright/issues/23622 - [Docs] Provide a description how to correctly use expect.configure with poll parameter https://github.com/microsoft/playwright/issues/23666 - [BUG] Live Trace does not work w