Package: node-playwright
Version: 1.38.0+ds-9
Severity: normal
Dear Maintainer,
Thanks for fixing #1135849.
This issue somehow looks like #1121651 but my request here is not to update
plawright versio, but to support using the browsers shipped by Debian.
The src:vnu package invokes playwright to run tests and needs chromium for that.
However node-playwright doesn't seem to be able to use the chromium
installation of Debian.
From what I understand playwright wants to download a specific version of the
browsers, but the Debian buildd doesn't permit any download from the internet
at build time.
Would it be possible that playwright uses the chromium shipped by Debian
instead?
For now the package fails like this when I invoke "playwright test
--project=chromium":
1) [chromium] › display-options.spec.ts:7:7 › Display options › show source
checkbox displays source code
Error: browserType.launch: Executable doesn't exist at
/sbuild-nonexistent/.cache/ms-playwright/chromium-1080/chrome-linux/chrome
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ npx playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
Then, when I invoke "playwright install" (which would download the browser from
the internet) : It errors out like that:
Failed to install browsers
TypeError: $k is not a function
Regards
Fab
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991,
'stable'), (390, 'oldoldstable-security'), (390, 'oldoldstable'), (389,
'oldoldstable-updates'), (95, 'testing'), (94, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.100+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages node-playwright depends on:
ii nodejs 20.19.2+dfsg-1+deb13u2
Versions of packages node-playwright recommends:
ii firefox-esr 140.13.0esr-1~deb13u1
node-playwright suggests no packages.