Kill browser process in Mac, Linux, Windows
npm i browser-kill
const Brkill = require('browser-kill');
(async () => {
// Kills chrome process
await Brkill.chrome();
// Kills firefox process
await Brkill.firefox();
})
-
- Kills the chrome process, throws error if chrome process is not running
-
- Kills the chrome process, throws error if chrome process is not running
Interested in contributing to this project? You can log any issues or suggestion related to this library here
Read our contributing guide on getting started with contributing to the codebase
Thank you to all the contributors who have helped us in making this project better ๐