Commit 1af2ea5
authored
feat: playwright >= 1.58.0 (#67)
https://github.com/microsoft/playwright/pull/38573/changes
playwright 从 1.58.0 开始,把 chromium 的静态模板改成调用 cftUrl 方法获取,不再从
`playwright/builds` 中获取版本。
新增了 `PLAYWRIGHT_CHROMIUM_DOWNLOAD_HOST` 指向 `chromium` 官方 testing
库,确保兼容性。
其余 firefox、webkit 等 binary 仍然从 `playwright/builds` 中获取对应版本。
对于 playwright `<= 1.57.0` 版本仍然通过 `playwright/builds` 中获取,不识别
`PLAYWRIGHT_CHROMIUM_DOWNLOAD_HOST` 变量
<img width="1489" height="232" alt="image"
src="https://github.com/user-attachments/assets/8350fc39-6d01-4d0b-92bc-d695a4249d53"
/>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated Playwright Chromium download host configuration in environment
settings
* Added mirror-specific host configuration for regional deployment
environments
* Updated test environment setup to reflect new configuration
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 38628dc commit 1af2ea5
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| 250 | + | |
249 | 251 | | |
250 | 252 | | |
251 | 253 | | |
| |||
340 | 342 | | |
341 | 343 | | |
342 | 344 | | |
| 345 | + | |
343 | 346 | | |
344 | 347 | | |
345 | 348 | | |
| |||
0 commit comments