Copy and adjust the browser.sh and run-test.sh scripts from cockpit-podman, which we have used in Fedora/RHEL dist-git gating and packit tests for a while.