#!/bin/sh
# Hermes 0.23.1 looks for Chromium in chrome-linux/; the ARM64 sandbox image
# ships it in chrome-linux-arm64/ (hermes-agent #153626). Mounted at
# /home/pn/.cache/ms-playwright, so this runs the image's own Chromium,
# whichever version it is.
for c in /opt/playwright/chromium-*/chrome-linux-arm64/chrome; do
    exec "$c" "$@"
done
echo "no Chromium under /opt/playwright" >&2
exit 127
