Skip to content

Commit 7a17cb9

Browse files
committed
docs: v1.56 release notes (microsoft#37687)
1 parent 2c5e33d commit 7a17cb9

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

docs/src/release-notes-js.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,65 @@ toc_max_heading_level: 2
66

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

9+
## Version 1.56
10+
11+
<LiteYouTube
12+
id="_AifxZGxwuk"
13+
title="Playwright 1.56 - Introducing Playwright Agents"
14+
/>
15+
16+
### Playwright Agents
17+
18+
Introducing Playwright Agents, three custom agent definitions designed to guide LLMs through the core process of building a Playwright test:
19+
20+
* **🎭 planner** explores the app and produces a Markdown test plan
21+
22+
* **🎭 generator** transforms the Markdown plan into the Playwright Test files
23+
24+
* **🎭 healer** executes the test suite and automatically repairs failing tests
25+
26+
Run `npx playwright init-agents` with your client of choice to generate the latest agent definitions:
27+
28+
```bash
29+
# Generate agent files for each agentic loop
30+
# Visual Studio Code
31+
npx playwright init-agents --loop=vscode
32+
# Claude Code
33+
npx playwright init-agents --loop=claude
34+
# opencode
35+
npx playwright init-agents --loop=opencode
36+
```
37+
38+
[Learn more about Playwright Agents](./test-agents.md)
39+
40+
### New APIs
41+
42+
- New methods [`method: Page.consoleMessages`] and [`method: Page.pageErrors`] for retrieving the most recent console messages from the page
43+
- New method [`method: Page.requests`] for retrieving the most recent network requests from the page
44+
- Added [`--test-list` and `--test-list-invert`](./test-cli.md#test-list) to allow manual specification of specific tests from a file
45+
46+
### UI Mode and HTML Reporter
47+
48+
- Added option to `'html'` reporter to disable the "Copy prompt" button
49+
- Added option to `'html'` reporter and UI Mode to merge files, collapsing test and describe blocks into a single unified list
50+
- Added option to UI Mode mirroring the `--update-snapshots` options
51+
- Added option to UI Mode to run only a single worker at a time
52+
53+
### Breaking Changes
54+
55+
- Event [`event: BrowserContext.backgroundPage`] has been deprecated and will not be emitted. Method [`method: BrowserContext.backgroundPages`] will return an empty list
56+
57+
### Miscellaneous
58+
59+
- Aria snapshots render and compare `input` `placeholder`
60+
- Added environment variable `PLAYWRIGHT_TEST` to Playwright worker processes to allow discriminating on testing status
61+
62+
### Browser Versions
63+
64+
- Chromium 141.0.7390.37
65+
- Mozilla Firefox 142.0.1
66+
- WebKit 26.0
67+
968
## Version 1.55
1069

1170
### New APIs

0 commit comments

Comments
 (0)