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
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,50 @@ title: "Release notes"
4
4
toc_max_heading_level: 2
5
5
---
6
6
7
+
## Version 1.46
8
+
9
+
### TLS Client Certificates
10
+
11
+
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
12
+
13
+
You can provide client certificates as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`]. The following snippet sets up a client certificate for `https://example.com`:
14
+
15
+
```csharp
16
+
varcontext=awaitBrowser.NewContextAsync(new() {
17
+
ClientCertificates= [
18
+
new() {
19
+
Origin="https://example.com",
20
+
CertPath="client-certificates/cert.pem",
21
+
KeyPath="client-certificates/key.pem",
22
+
}
23
+
]
24
+
});
25
+
```
26
+
27
+
### Trace Viewer Updates
28
+
29
+
- Content of text attachments is now rendered inline in the attachments pane.
30
+
- New setting to show/hide routing actions like [`method: Route.continue`].
31
+
- Request method and status are shown in the network details tab.
32
+
- New button to copy source file location to clipboard.
33
+
- Metadata pane now displays the `BaseURL`.
34
+
35
+
### Miscellaneous
36
+
37
+
- New `maxRetries` option in [`method: APIRequestContext.fetch`] which retries on the `ECONNRESET` network error.
38
+
39
+
### Browser Versions
40
+
41
+
- Chromium 128.0.6613.18
42
+
- Mozilla Firefox 128.0
43
+
- WebKit 18.0
44
+
45
+
This version was also tested against the following stable channels:
Copy file name to clipboardExpand all lines: docs/src/release-notes-java.md
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,45 @@ title: "Release notes"
4
4
toc_max_heading_level: 2
5
5
---
6
6
7
+
## Version 1.46
8
+
9
+
### TLS Client Certificates
10
+
11
+
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
12
+
13
+
You can provide client certificates as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`]. The following snippet sets up a client certificate for `https://example.com`:
Copy file name to clipboardExpand all lines: docs/src/release-notes-js.md
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,18 @@ export default defineConfig({
33
33
34
34
You can also provide client certificates to a particular [test project](./api/class-testproject#test-project-use) or as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`].
35
35
36
+
### `--only-changed` cli option
37
+
38
+
New CLI option `--only-changed` allows to only run test files that have been changed since the last git commit or from a specific git "ref".
39
+
40
+
```sh
41
+
# Only run test files with uncommitted changes
42
+
npx playwright test --only-changed
43
+
44
+
# Only run test files changed relative to the "main" branch
45
+
npx playwrigh test --only-changed=main
46
+
```
47
+
36
48
### Component Testing: New `router` fixture
37
49
38
50
This release introduces an experimental `router` fixture to intercept and handle network requests in component testing.
Copy file name to clipboardExpand all lines: docs/src/release-notes-python.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,50 @@ title: "Release notes"
4
4
toc_max_heading_level: 2
5
5
---
6
6
7
+
## Version 1.46
8
+
9
+
### TLS Client Certificates
10
+
11
+
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
12
+
13
+
You can provide client certificates as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`]. The following snippet sets up a client certificate for `https://example.com`:
14
+
15
+
```python
16
+
context = browser.new_context(
17
+
client_certificates=[
18
+
{
19
+
"origin": "https://example.com",
20
+
"certPath": "client-certificates/cert.pem",
21
+
"keyPath": "client-certificates/key.pem",
22
+
}
23
+
],
24
+
)
25
+
```
26
+
27
+
### Trace Viewer Updates
28
+
29
+
- Content of text attachments is now rendered inline in the attachments pane.
30
+
- New setting to show/hide routing actions like [`method: Route.continue`].
31
+
- Request method and status are shown in the network details tab.
32
+
- New button to copy source file location to clipboard.
33
+
- Metadata pane now displays the `base_url`.
34
+
35
+
### Miscellaneous
36
+
37
+
- New `maxRetries` option in [`method: APIRequestContext.fetch`] which retries on the `ECONNRESET` network error.
38
+
39
+
### Browser Versions
40
+
41
+
- Chromium 128.0.6613.18
42
+
- Mozilla Firefox 128.0
43
+
- WebKit 18.0
44
+
45
+
This version was also tested against the following stable channels:
0 commit comments