Skip to content

docs: release notes for v1.62#41940

Merged
dcrousso merged 1 commit into
microsoft:mainfrom
dcrousso:release-notes-1.62
Jul 23, 2026
Merged

docs: release notes for v1.62#41940
dcrousso merged 1 commit into
microsoft:mainfrom
dcrousso:release-notes-1.62

Conversation

@dcrousso

@dcrousso dcrousso commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Release notes for the upcoming v1.62 release.

Highlights

  • New component testing model — stories & galleries with the new mount fixture
  • AbortSignal support on operations and web-first assertions (signal option)
  • WebP screenshots — store toHaveScreenshot() snapshots as .webp
  • Reporter.preprocess() hook for custom test filtering
  • Isolated retries via retryStrategy: 'isolated'

Also includes

  • New APIs: WebAuthn passkeys in storage state (storageState.credentials), APIResponse.timing(), Locator.waitForFunction(), functions as evaluate/addInitScript args, scroll action option
  • CLI/MCP: Playwright now bundles the MCP server and playwright-cli (npx playwright mcp / npx playwright cli)
  • HTML reporter mergeFiles config option
  • Announcement: Debian 11 is no longer supported
  • Browser versions: Chromium 151.0.7922.34, Firefox 153.0, WebKit 26.5

Validated locally with npm run doc.

Comment thread docs/src/release-notes-js.md Outdated

- The HTML reporter gains a `mergeFiles` option to merge results from multiple files into a single grouped view.

### 🛠️ Other improvements

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'd drop this whole section.


- Docker images now split browser layers and use zstd compression for faster pulls.
- Video recording wraps frames with explicit Matroska timestamps for more accurate frame timing.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should tell that Debian 11 is not supported anymore.

Comment thread docs/src/release-notes-js.md Outdated

#### Command line & MCP

- `npx playwright mcp` is now exposed, and `npx playwright cli` is unhidden.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this one should be a bit bigger, saying that playwright now bundles mcp and cli and link to the documenation of those.

Comment thread docs/src/release-notes-js.md Outdated
#### Command line & MCP

- `npx playwright mcp` is now exposed, and `npx playwright cli` is unhidden.
- The MCP server gains a `browser_find` tool to search the page snapshot.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'd skip this and next one though.

Comment thread docs/src/release-notes-js.md Outdated

Providing a signal does not disable the default timeout; pass `timeout: 0` to disable it.

### 🔑 WebAuthn credentials in storage state

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is minor, I'd put into under new APIs section, framing it as a new option BrowserContext.storageState.credentials.

Comment thread docs/src/release-notes-js.md Outdated

#### Screenshots

- Screenshots now support a `webp` output `type`. For WebP, quality `100` (the default) is lossless, while lower values use lossy compression.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this one deserves a highlight, featuring toHaveScreenshot().

Comment thread docs/src/release-notes-js.md Outdated

#### Reporters

- The HTML reporter gains a `mergeFiles` option to merge results from multiple files into a single grouped view.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we should clarify that this is a config option (as opposed to already existing ui one) and maybe include a config snippet?

Comment thread docs/src/release-notes-js.md Outdated

#### Screenshots

- Screenshots now support a `webp` output `type`. For WebP, quality `100` (the default) is lossless, while lower values use lossy compression.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

include a code snippet

import LiteYouTube from '@site/src/components/LiteYouTube';

## Version 1.62

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we need component testing update to go first

@dcrousso
dcrousso force-pushed the release-notes-1.62 branch from 11da5ae to c6364c8 Compare July 22, 2026 19:41
@dcrousso
dcrousso requested review from dgozman and yury-s July 22, 2026 20:03

- New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view.

#### Network

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't see the new option added in #41294, also should we discuss it in the api review?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ooo good catch! apologies for missing that

@dcrousso
dcrousso force-pushed the release-notes-1.62 branch 2 times, most recently from 1f5a9e0 to c273255 Compare July 23, 2026 20:07
@dcrousso
dcrousso requested a review from yury-s July 23, 2026 20:08
Comment thread docs/src/release-notes-js.md Outdated
snapshots are lossless like PNG, but noticeably smaller, which keeps your snapshot directory lean:

```js
// Visual comparisons store the golden snapshot as lossless WebP (smaller than PNG).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
// Visual comparisons store the golden snapshot as lossless WebP (smaller than PNG).
// Visual comparisons store the golden snapshot as lossless WebP.

Dmitry was asking me to remove similar assertions from the docs, let the users decide if they need it.

Comment thread docs/src/release-notes-js.md Outdated

### 🧱 New component testing model

Component testing moves to a **stories and galleries** model. A **story** wraps your component

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We need a link to the guide. Also we should say more about the new approach not depending on the bundler integration and supporting more frameworks. I think it makes sense to also mention that this new api is stable (unlike previous experimental api that we want to drop).

@dcrousso
dcrousso force-pushed the release-notes-1.62 branch 3 times, most recently from 0bcd067 to 0112ba9 Compare July 23, 2026 21:16
@dcrousso
dcrousso force-pushed the release-notes-1.62 branch from 0112ba9 to 53db670 Compare July 23, 2026 21:30
@dcrousso
dcrousso merged commit 28e8676 into microsoft:main Jul 23, 2026
3 checks passed
@dcrousso
dcrousso deleted the release-notes-1.62 branch July 23, 2026 21:35
dcrousso added a commit that referenced this pull request Jul 23, 2026
Release notes for the upcoming **v1.62** release.

### Highlights
- **New component testing model** — stories & galleries with the new `mount` fixture
- **AbortSignal** support on operations and web-first assertions (`signal` option)
- **WebP screenshots** — store `toHaveScreenshot()` snapshots as `.webp`
- **`Reporter.preprocess()`** hook for custom test filtering
- **Isolated retries** via `retryStrategy: 'isolated'`

### Also includes
- New APIs: WebAuthn passkeys in storage state (`storageState.credentials`), `APIResponse.timing()`, `Locator.waitForFunction()`, functions as `evaluate`/`addInitScript` args, `scroll` action option
- CLI/MCP: Playwright now bundles the MCP server and `playwright-cli` (`npx playwright mcp` / `npx playwright cli`)
- HTML reporter `mergeFiles` config option
- Announcement: Debian 11 is no longer supported
- Browser versions: Chromium 151.0.7922.34, Firefox 153.0, WebKit 26.5

Validated locally with `npm run doc`.
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.

3 participants