Skip to content

[Bug]: playwright.ps1 on net10 and Windows output deprecation errors #3291

@erikatsg

Description

@erikatsg

Version

1.58.0

Steps to reproduce

Running the playwright.ps1 script generated with net10 on a Windows build server (Azure DevOps self-hosted) using Powershell (not pwsh) errors about deprecated methods are outputted which fails the build step.

My test project is using net10 as TFW.

I did not see this on net9

Expected behavior

No errors in log (Azure DevOps fails the install browsers step due to this).

Actual behavior

2026-03-30T08:04:32.2970150Z Removing unused browser at C:\Users\buildbot\AppData\Local\ms-playwright\chromium-1187
2026-03-30T08:04:32.2976881Z Removing unused browser at C:\Users\buildbot\AppData\Local\ms-playwright\chromium_headless_shell-1187
2026-03-30T08:04:32.4248354Z Downloading Chrome for Testing 145.0.7632.6 (playwright chromium v1208)‌ from https:cdn.playwright.devbuildscft145.0.7632.6win64chrome-win64.zip‌
2026-03-30T08:04:33.7753089Z ##[error](node:2672) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
2026-03-30T08:04:33.7943766Z |                                                                                |   0% of 172.8 MiB
2026-03-30T08:04:35.2012800Z |■■■■■■■■                                                                        |  10% of 172.8 MiB
2026-03-30T08:04:35.6532373Z |■■■■■■■■■■■■■■■■                                                                |  20% of 172.8 MiB
2026-03-30T08:04:36.1178132Z |■■■■■■■■■■■■■■■■■■■■■■■■                                                        |  30% of 172.8 MiB
2026-03-30T08:04:36.5410281Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                                |  40% of 172.8 MiB
2026-03-30T08:04:37.0040254Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                        |  50% of 172.8 MiB
2026-03-30T08:04:37.4685196Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                |  60% of 172.8 MiB
2026-03-30T08:04:37.8890797Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                        |  70% of 172.8 MiB
2026-03-30T08:04:38.3599218Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                |  80% of 172.8 MiB
2026-03-30T08:04:38.8223014Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■        |  90% of 172.8 MiB
2026-03-30T08:04:39.2721971Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 172.8 MiB
2026-03-30T08:04:45.5879807Z Chrome for Testing 145.0.7632.6 (playwright chromium v1208) downloaded to C:\Users\buildbot\AppData\Local\ms-playwright\chromium-1208
2026-03-30T08:04:45.6129352Z Downloading Chrome Headless Shell 145.0.7632.6 (playwright chromium-headless-shell v1208)‌ from https:cdn.playwright.devbuildscft145.0.7632.6win64chrome-headless-shell-win64.zip‌
2026-03-30T08:04:46.3346308Z ##[error](node:4024) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
2026-03-30T08:04:46.3358514Z |                                                                                |   0% of 108.8 MiB
2026-03-30T08:04:47.7558408Z |■■■■■■■■                                                                        |  10% of 108.8 MiB
2026-03-30T08:04:48.3682700Z |■■■■■■■■■■■■■■■■                                                                |  20% of 108.8 MiB
2026-03-30T08:04:48.5380641Z |■■■■■■■■■■■■■■■■■■■■■■■■                                                        |  30% of 108.8 MiB
2026-03-30T08:04:48.8336225Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                                |  40% of 108.8 MiB
2026-03-30T08:04:49.0999053Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                        |  50% of 108.8 MiB
2026-03-30T08:04:49.3850355Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                                |  60% of 108.8 MiB
2026-03-30T08:04:49.6704562Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                        |  70% of 108.8 MiB
2026-03-30T08:04:49.9436210Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■                |  80% of 108.8 MiB
2026-03-30T08:04:50.2324016Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■        |  90% of 108.8 MiB
2026-03-30T08:04:50.5142083Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 108.8 MiB
2026-03-30T08:04:54.6260230Z Chrome Headless Shell 145.0.7632.6 (playwright chromium-headless-shell v1208) downloaded to C:\Users\buildbot\AppData\Local\ms-playwright\chromium_headless_shell-1208
2026-03-30T08:04:54.6814861Z 
2026-03-30T08:04:54.6818639Z 
2026-03-30T08:04:54.7808952Z ##[section]Finishing: Install Playwright browsers

Additional context

No response

Environment

- Operating System: Windows
- CPU: amd64
- .NET Version (TFM): net10
- Other info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions