Pass along extra command line args to the Selenium Java server

This commit is contained in:
John Bintz 2016-03-11 09:58:15 -05:00
parent 9b0b0611e2
commit d05a52f311

View File

@ -74,8 +74,10 @@ app.use(proxy('localhost', {
}
}));
var seleniumArgs = process.argv.slice(2);
selenium.install({ logger: function(msg) { console.log(msg); }}, function(err) {
selenium.start({ spawnOptions: {}}, function(err) {
selenium.start({ spawnOptions: {}, seleniumArgs: seleniumArgs }, function(err) {
if (err) {
console.log(err);
} else {