From Dev.to
What a killed Playwright script leaves behind on Linux: processes, profile dirs and a SIGTERM that does not exit
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. I wanted to know what each o...
