Files
blap/packages/playwright-common/docker-entrypoint.sh
T
David Baker 0ed98941bd Fix playwright screenshot consistency (#33645)
Add the --unsafe flag because we like to live dangerously, as commented.
2026-05-28 15:08:19 +00:00

8 lines
326 B
Bash
Executable File

#!/bin/bash
# --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