A Playwright script ends in more ways than await browser. close() : it throws, someone calls process. exit() , a container runtime sends SIGTERM, the OOM killer sends SIGKILL.

Source: [Dev.to](https://dev.to/curlshot/what-a-killed-playwright-script-leaves-behind-on-linux-processes-profile-dirs-and-a-sigterm-that-5989)

Sponsored