UNPKG

selenium-standalone

Version:

installs a `selenium-standalone` command line to install and start a standalone selenium server

14 lines (10 loc) 273 B
const fs = require('fs'); const checkPathsExistence = (paths) => { const pathValues = Object.values(paths); pathValues.forEach((path) => { if (!fs.existsSync(path)) { throw new Error('Missing ' + path); } }); }; module.exports = checkPathsExistence;