Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: replace `docker/cli.sh stop` with `docker/cli.sh cleanup` (#16537)
Andrey Lushnikov7614564ca52d
diff --git a/browser_patches/docker/cli.sh b/browser_patches/docker/cli.shindex 0356775250..1904ebad7e 100755--- a/browser_patches/docker/cli.sh+++ b/browser_patches/docker/cli.sh@@ -6,7 +6,7 @@ set +xset -o pipefailif [[ ($1 == '--help') || ($1 == '-h') ]]; then- echo "usage: $(basename "$0") [webkit-ubuntu-20.04|firefox-debian-11|...] [build|test|compile|enter|stop]"+ echo "usage: $(basename "$0") [webkit-ubuntu-20.04|firefox-debian-11|...] [build|test|compile|enter|cleanup]"echoecho "Builds Webkit or Firefox browser inside given Linux distribution"exit 0@@ -85,10 +85,12 @@ elif [[ "$2" == "compile" ]]; then'elif [[ "$2" == "enter" ]]; thendocker run --rm ${DOCKER_ARGS} --init --name "${DOCKER_CONTAINER_NAME}" --platform "${DOCKER_PLATFORM}" -it "${DOCKER_IMAGE_NAME}" /bin/bash-elif [[ "$2" == "kill" || "$2" == "stop" ]]; then+elif [[ "$2" == "cleanup" ]]; thendocker kill "${DOCKER_CONTAINER_NAME}" || true# Wait for container to stopdocker wait "${DOCKER_CONTAINER_NAME}" || true+ docker rmi "${DOCKER_IMAGE_NAME}"+ docker system prune -felseecho "ERROR: unknown command - $2"exit 1