Setup Run test in Docker container Run below command docker run -it --rm --name playwright-container -v "$(pwd):/app" mcr.microsoft.com/playwright:v1.44.1-jammy Navigate to app folder and execute npm commands docker-compose docker-compose -f docker-compose.yml up