You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/release-notes-csharp.md
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,12 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
10
10
11
11
### 🎬 Screencast
12
12
13
-
New [`property: Page.screencast`] API provides a unified interface for capturing page content — both as video recordings, annotations, overlays, and a real-time frame stream.
13
+
New [`property: Page.screencast`] API provides a unified interface for capturing page content with:
**Real-time frame capture** — stream JPEG-encoded frames for custom processing like thumbnails, live previews, AI vision, and more:
53
+
54
+
```csharp
55
+
awaitpage.Screencast.StartAsync(new() {
56
+
OnFrame=frame=>SendToVisionModel(frame.Data),
57
+
});
58
+
```
59
+
55
60
**Agentic video receipts** — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
56
61
57
62
```csharp
@@ -116,25 +121,25 @@ New [`method: Browser.bind`] API makes a launched browser available for `playwri
116
121
**Bind a browser** — start a browser and bind it so others can connect:
Copy file name to clipboardExpand all lines: docs/src/release-notes-java.md
+22-14Lines changed: 22 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,12 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
10
10
11
11
### 🎬 Screencast
12
12
13
-
New [`property: Page.screencast`] API provides a unified interface for capturing page content — both as video recordings, annotations, overlays, and a real-time frame stream.
13
+
New [`property: Page.screencast`] API provides a unified interface for capturing page content with:
**Agentic video receipts** — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
55
60
56
61
```java
@@ -116,24 +121,24 @@ New [`method: Browser.bind`] API makes a launched browser available for `playwri
116
121
**Bind a browser** — start a browser and bind it so others can connect:
Copy file name to clipboardExpand all lines: docs/src/release-notes-js.md
+23-16Lines changed: 23 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,12 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
10
10
11
11
### 🎬 Screencast
12
12
13
-
New [`property: Page.screencast`] API provides a unified interface for capturing page content — both as video recordings, annotations, overlays, and a real-time frame stream.
13
+
New [`property: Page.screencast`] API provides a unified interface for capturing page content with:
**Real-time frame capture** — stream JPEG-encoded frames for custom processing like thumbnails, live previews, AI vision, and more:
70
+
71
+
```js
72
+
awaitpage.screencast.start({
73
+
onFrame: ({ data }) =>sendToVisionModel(data),
74
+
size: { width:800, height:600 },
75
+
});
76
+
```
77
+
73
78
**Agentic video receipts** — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
74
79
75
80
```js
@@ -101,26 +106,25 @@ New [`method: Browser.bind`] API makes a launched browser available for `playwri
101
106
**Bind a browser** — start a browser and bind it so others can connect:
Copy file name to clipboardExpand all lines: docs/src/release-notes-python.md
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,12 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
10
10
11
11
### 🎬 Screencast
12
12
13
-
New [`property: Page.screencast`] API provides a unified interface for capturing page content — both as video recordings, annotations, overlays, and a real-time frame stream.
13
+
New [`property: Page.screencast`] API provides a unified interface for capturing page content with:
**Agentic video receipts** — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:
56
61
57
62
```python
@@ -116,25 +121,25 @@ New [`method: Browser.bind`] API makes a launched browser available for `playwri
116
121
**Bind a browser** — start a browser and bind it so others can connect:
117
122
118
123
```python
119
-
browser =await chromium.launch()
120
124
server_info =await browser.bind("my-session",
121
125
workspace_dir="/my/project",
122
126
)
123
127
```
124
128
125
-
**Connect from playwright-cli**
129
+
**Connect from playwright-cli** — connect to the running browser from your favorite coding agent.
126
130
127
131
```bash
128
132
playwright-cli attach my-session
133
+
playwright-cli -s my-session snapshot
129
134
```
130
135
131
-
**Connect from playwright/mcp**
136
+
**Connect from @playwright/mcp** — or point your MCP server to the running browser.
132
137
133
138
```bash
134
139
@playwright/mcp --endpoint=my-session
135
140
```
136
141
137
-
**Connect from another client**
142
+
**Connect from a Playwright client** — use API to connect to the browser. Multiple clients at a time are supported!
0 commit comments