fix(playwright): install chromium-headless-shell for headless runs
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
Playwright v1.46 expects the separate chromium_headless_shell binary in headless mode. Install chromium-headless-shell alongside chromium in both the Makefile and Nix flake installer to prevent ENOENT launch errors. https://chatgpt.com/share/694ae842-1588-800f-9418-31e7d02ac45e
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
text = ''
|
||||
# Install Playwright browsers.
|
||||
# IMPORTANT: Do not print anything to stdout (tests expect token-only stdout).
|
||||
exec ${pythonPlaywright}/bin/python -m playwright install chromium 1>&2
|
||||
exec ${pythonPlaywright}/bin/python -m playwright install chromium chromium-headless-shell 1>&2
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user