Fix playwright screenshot consistency (#33645)

Add the --unsafe flag because we like to live dangerously, as commented.
This commit is contained in:
David Baker
2026-05-28 16:08:19 +01:00
committed by GitHub
parent 8aa5c175ad
commit 0ed98941bd
@@ -1,2 +1,7 @@
#!/bin/bash
exec /usr/bin/playwright run-server --port "$PORT" --host 0.0.0.0
# --unsafe allows clients to pass CLI flags to chromium for things like disabling
# subpixel rendering which we need for consistent screenshots.
# Better might be to specify them statically here but unfortunately that's not an
# option.
exec /usr/bin/playwright run-server --port "$PORT" --host 0.0.0.0 --unsafe