microsoft/playwright-java (com.microsoft.playwright:playwright)
### [`v1.46.0`](https://togithub.com/microsoft/playwright-java/releases/tag/v1.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.
You can provide client certificates as a parameter of [browser.newContext()](https://playwright.dev/java/docs/api/class-browser#browser-new-context-option-client-certificates) and [apiRequest.newContext()](https://playwright.dev/java/docs/api/class-apirequest#api-request-new-context-option-client-certificates). The following snippet sets up a client certificate for `https://example.com`:
```java
BrowserContext context = browser.newContext(new Browser.NewContextOptions()
.setClientCertificates(asList(new ClientCertificate("https://example.com")
.setCertPath(Paths.get("client-certificates/cert.pem"))
.setKeyPath(Paths.get("client-certificates/key.pem")))));
```
#### Trace Viewer Updates
- Content of text attachments is now rendered inline in the attachments pane.
- New setting to show/hide routing actions like [route.resume()](https://playwright.dev/java/docs/api/class-route#route-continue).
- Request method and status are shown in the network details tab.
- New button to copy source file location to clipboard.
- Metadata pane now displays the `baseURL`.
#### Miscellaneous
- New `maxRetries` option in [apiRequestContext.fetch()](https://playwright.dev/java/docs/api/class-apirequestcontext#api-request-context-fetch) which retries on the `ECONNRESET` network error.
#### Browser Versions
- Chromium 128.0.6613.18
- Mozilla Firefox 128.0
- WebKit 18.0
This version was also tested against the following stable channels:
- Google Chrome 127
- Microsoft Edge 127
Configuration
š Schedule: Branch creation - "after 10am and before 6pm" in timezone Etc/UTC, Automerge - "after 10am and before 6pm" in timezone Etc/UTC.
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.45.1
->1.46.0
Release Notes
microsoft/playwright-java (com.microsoft.playwright:playwright)
### [`v1.46.0`](https://togithub.com/microsoft/playwright-java/releases/tag/v1.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. You can provide client certificates as a parameter of [browser.newContext()](https://playwright.dev/java/docs/api/class-browser#browser-new-context-option-client-certificates) and [apiRequest.newContext()](https://playwright.dev/java/docs/api/class-apirequest#api-request-new-context-option-client-certificates). The following snippet sets up a client certificate for `https://example.com`: ```java BrowserContext context = browser.newContext(new Browser.NewContextOptions() .setClientCertificates(asList(new ClientCertificate("https://example.com") .setCertPath(Paths.get("client-certificates/cert.pem")) .setKeyPath(Paths.get("client-certificates/key.pem"))))); ``` #### Trace Viewer Updates - Content of text attachments is now rendered inline in the attachments pane. - New setting to show/hide routing actions like [route.resume()](https://playwright.dev/java/docs/api/class-route#route-continue). - Request method and status are shown in the network details tab. - New button to copy source file location to clipboard. - Metadata pane now displays the `baseURL`. #### Miscellaneous - New `maxRetries` option in [apiRequestContext.fetch()](https://playwright.dev/java/docs/api/class-apirequestcontext#api-request-context-fetch) which retries on the `ECONNRESET` network error. #### Browser Versions - Chromium 128.0.6613.18 - Mozilla Firefox 128.0 - WebKit 18.0 This version was also tested against the following stable channels: - Google Chrome 127 - Microsoft Edge 127Configuration
š Schedule: Branch creation - "after 10am and before 6pm" in timezone Etc/UTC, Automerge - "after 10am and before 6pm" in timezone Etc/UTC.
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.