Pass along extra command line args to the Selenium Java server
This commit is contained in:
parent
9b0b0611e2
commit
d05a52f311
4
index.js
4
index.js
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user