Steps to Run test Run playwright server for remote mode npx playwright run-server --max-clients 1 --port 49858 Run Test npm playwright test Environment variable LOCALlHTTPSERVERURL - change default value for http server hostname from 127.0.0.1 to localhost