Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.on('finish', function() {
selenium.app.close();
selenium.server.kill();
});
}
}, function(err, child) {
if(!err) {
selenium.app = require('./app');
selenium.server = child;
callback();
} else {
callback(err);
}
});
} else {