The Playwright image is large. Its first pull can take several minutes, while cached browser launches are much faster. Consider turning a prepared browser sandbox into a snapshot for repeated jobs.
Use Playwright
1
Capture a screenshot
2
Optional: run a remote server
Running and logs its WebSocket endpoint:ws://127.0.0.1:3000/. Keep the client and server versions aligned.3
Clean up
Remove the sandboxes:Delete the copied screenshot only if you no longer need it: