DDS-Derek / xiaoya-alist

小雅Alist的相关周边
GNU General Public License v3.0
5.48k stars 795 forks source link

chore(deps): update dependency playwright to v1.46.0 #186

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
playwright (changelog) ==1.45.1 -> ==1.46.0 age adoption passing confidence

Release Notes

Microsoft/playwright-python (playwright) ### [`v1.46.0`](https://togithub.com/microsoft/playwright-python/releases/tag/v1.46.0) [Compare Source](https://togithub.com/Microsoft/playwright-python/compare/v1.45.1...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.new_context()](https://playwright.dev/python/docs/api/class-browser#browser-new-context) and [api_request.new_context()](https://playwright.dev/python/docs/api/class-apirequest#api-request-new-context). The following snippet sets up a client certificate for `https://example.com`: ```python context = browser.new_context( client_certificates=[ { "origin": "https://example.com", "certPath": "client-certificates/cert.pem", "keyPath": "client-certificates/key.pem", } ], ) ``` When using the [Pytest plugin](https://playwright.dev/python/docs/test-runners), it can be added like this: ```python @​pytest.fixture(scope="session") def browser_context_args(browser_context_args): return { **browser_context_args, "client_certificates": [ { "origin": "https://example.com", "certPath": "client-certificates/cert.pem", "keyPath": "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.continue\_()](https://playwright.dev/python/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 `base_url`. #### Miscellaneous - New `max_retries` option in [apiRequestContext.fetch()](https://playwright.dev/python/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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

renovate[bot] commented 3 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==1.46.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.