npx selenium-standalone install Pro tip: Add --singleDriverInstall=chrome if you only need Chrome to save bandwidth. npx selenium-standalone start You will see output like:
after(async function() { await server.kill(); // Clean shutdown }); selenium-standalone
// setup.js const { start, install } = require('selenium-standalone'); let server; // Clean shutdown })